This is the mail archive of the
mailing list for the Cygwin project.
Re: cron and user context
- To: "Wyant, Jaime" <jwyant at sfbcic dot com>
- Subject: Re: cron and user context
- From: egor duda <deo at logos-m dot ru>
- Date: Thu, 2 Aug 2001 18:29:32 +0400
- CC: cygwin at cygwin dot com
- Organization: deo
- References: <654DAEACA633D511B5F500902784B052188379@MS-EXCHANGE>
- Reply-To: egor duda <cygwin at cygwin dot com>
Thursday, 02 August, 2001 Wyant, Jaime email@example.com wrote:
WJ> When cron reads a users crontab, does it do something similar to: "su
WJ> If cron does execute programs as the owner of each crontab, then should I be
WJ> able to see all of the "shares" that are available to that user?
WJ> I have a share mapped to drive "H" but the shell scripts I am running via
WJ> cron keep getting "access is denied" messages when I try to output to my "H"
you can't use mapped drive names. use UNC paths, i.e. \\server\share\path\to\file.ext
instead. This holds true for any windows program that changes user
context, not for only cygwin ones.
Egor. mailto:firstname.lastname@example.org ICQ 5165414 FidoNet 2:5020/496.19
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html