Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <654DAEACA633D511B5F500902784B05218837A@MS-EXCHANGE> From: "Wyant, Jaime" To: "'egor duda'" Subject: RE: cron and user context Date: Thu, 2 Aug 2001 09:36:20 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="windows-1252" Thanks! I did not realize this. jaime >>>-----Original Message----- >>>From: egor duda [mailto:deo AT logos-m DOT ru] >>>Sent: Thursday, August 02, 2001 9:30 AM >>>To: Wyant, Jaime >>>Cc: cygwin AT cygwin DOT com >>>Subject: Re: cron and user context >>> >>> >>>Hi! >>> >>>Thursday, 02 August, 2001 Wyant, Jaime jwyant AT sfbcic DOT com wrote: >>> >>>WJ> When cron reads a users crontab, does it do something >>>similar to: "su >>>WJ> username"? >>> >>>yes. >>> >>>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? >>> >>>yes. >>> >>>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" >>>WJ> drive. >>> >>>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:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/