delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/22/17:22:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: eos.vss.fsi.com: ford owned process doing -bs
Date: Wed, 22 Oct 2003 16:20:42 -0500 (CDT)
From: Brian Ford <ford AT vss DOT fsi DOT com>
X-X-Sender: ford AT eos
To: cygwin AT cygwin DOT com
Subject: Re: Problem w/ cron
In-Reply-To: <Pine.LNX.4.58.0310221638040.13532@olga.williams.edu>
Message-ID: <Pine.GSO.4.56.0310221619070.823@eos>
References: <Pine DOT LNX DOT 4 DOT 58 DOT 0310221638040 DOT 13532 AT olga DOT williams DOT edu>
MIME-Version: 1.0

On Wed, 22 Oct 2003, Jeremy A Redburn wrote:

> I am having permissions trouble with the latest cron on Cygwin. I am
> running WindowsXP and have an ssh identity file owned by me:
>
> -rw-------    1 Administ None          672 Oct 22 16:15 identity
>
> The problem is that I do not seem to have read access to this file when
> running a command under Administrator's crontab. Right now, I have:
>
> * * * * * /usr/bin/cat /tmp/identity > /tmp/identity2 2>&1
>
> But /tmp/identity2 is just:
> /usr/bin/cat: /tmp/identity: Permission denied
>
> When I run the command from the shell, it works fine. I have run `id` from
> the shell and from cron and there is a minor difference:
>
> uid=500(Administrator) gid=513(None) groups=544(Administrators),545(Users)
> uid=500(Administrator) gid=513(None) groups=513(None),545(Users)
>
> If anyone has any ideas, or needs further information, please let me know.
>
My WAG, try the work around mentioned here:

http://www.cygwin.com/ml/cygwin/2003-10/msg01238.html

or wait for this:

http://www.cygwin.com/ml/cygwin/2003-10/msg01429.html

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
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