Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3F97E920.584A8874@phumblet.no-ip.org> Date: Thu, 23 Oct 2003 10:43:44 -0400 From: "Pierre A. Humblet" Reply-To: Pierre DOT Humblet AT ieee DOT org X-Accept-Language: en,pdf MIME-Version: 1.0 To: Jeremy A Redburn CC: cygwin AT cygwin DOT com Subject: Re: Problem w/ cron References: <3F96F9F3 DOT 74262202 AT phumblet DOT no-ip DOT org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Jeremy A Redburn wrote: > > Sorry, I'm a little frazzled this morning, here are the relevant portions > of /etc/passwd: > > SYSTEM:*:18:18:,S-1-5-18:: > Administrators:*:544:544:,S-1-5-32-544:: > Administrator:unused_by_nt/2000/xp:500:513:U-IBM-VNYWG3WG0KP\Administrator,S-1-5-21-1844237615-1563985344-1060284298-500:/cygdrive/c/Documents > and Settings/Administrator.IBM-NMR31UMZNAJ:/bin/bash > > and /etc/group: > > SYSTEM:S-1-5-18:18: > None:S-1-5-21-1844237615-1563985344-1060284298-513:513: > Administrators:S-1-5-32-544:544: OK, thanks, but you are not answering my question about ls -ln and not following http://cygwin.com/problems.html Also, did you try Brian Ford's suggestion? The snippet of /etc/passwd shows that Administrator on U-IBM-VNYWG3WG0KP has a directory Administrator.IBM-NMR31UMZNAJ Your installation seems a little unusual... Could there be several users named Administrator on your network? Do you login in Windows as U-IBM-VNYWG3WG0KP\Administrator? Pierre > Jeremy > > On Wed, 22 Oct 2003, Pierre A. Humblet wrote: > > > Jeremy A Redburn wrote: > > > > > > Hi there, > > > > > > 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 > > > > It's not clear if the owner is Administrator or Administrators. > > Try ls -ln > > > > > 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) > > > > That's a big difference, and it's abnormal. > > Some name aliasing might be taking place. > > What does fgrep Administrator /etc/passwd give? You will need to provide > > more details, see http://cygwin.com/problems.html > > > > The workaround suggested by Brian Ford might work, but there is still > > an underlying problem. > > > > 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/