delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/02/10:34:00

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 2 Aug 2001 18:29:32 +0400
From: egor duda <deo AT logos-m DOT ru>
X-Mailer: The Bat! (v1.53 RC/4)
Reply-To: egor duda <cygwin AT cygwin DOT com>
Organization: deo
X-Priority: 3 (Normal)
Message-ID: <158193797936.20010802182932@logos-m.ru>
To: "Wyant, Jaime" <jwyant AT sfbcic DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: cron and user context
In-Reply-To: <654DAEACA633D511B5F500902784B052188379@MS-EXCHANGE>
References: <654DAEACA633D511B5F500902784B052188379 AT MS-EXCHANGE>
MIME-Version: 1.0

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/

- Raw text -


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