delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/25/17:17:29

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 25 Nov 2008 17:16:05 -0500
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
Subject: Re: Problem with Cron and Permissions...
To: "Jim Kogler" <jkogler AT mak DOT com>, <cygwin AT cygwin DOT com>
Message-id: <021b01c94f4b$69dd6bb0$940410ac@wirelessworld.airvananet.com>
MIME-version: 1.0
References: <492C7128 DOT 9010002 AT mak DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

----- Original Message ----- 
From: "Jim Kogler"
To: cygwin
Sent: Tuesday, November 25, 2008 4:42 PM
Subject: Problem with Cron and Permissions...


|I recently upgraded cygwin (current version info at end of email) from a
| fairly old version ( at least 3 years old...) and have run into this
| problem:
|
| I have a cron job, that runs a scrip on a SAMBA mount. The script writes
| to the SAMBA mount, here is a bit of the script:
<snip>

Jim,

This is more likely to be a Samba/Cygwin problem than a cron issue.

This being said, there are three easy things you can try
1) Use cron-config to run the daemon as yourself (nightbus) instead of using the default Local 
System account
    That will be OK as long as nightbus is the only cron user on that machine
2) Use cron-config to set "nosmbntsec" for CYGWIN   (the default for cron is "ntsec smbntsec",
     not sure what it is in your shell.
3) Update your /etc/group file. You should not see group names like mkgroup-l-d and mkgroup

Pierre 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019