delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/03/15:56:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Date: Wed, 3 Nov 2004 15:56:28 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Barry Kelly <barry DOT j DOT kelly AT gmail DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Problem with installing crontab on Cygwin(1.5.11/1005.11.0.0)/WinXP SP2
In-Reply-To: <3adf6db8041102093616750b66@mail.gmail.com>
Message-ID: <Pine.GSO.4.61.0411031555470.27136@slinky.cs.nyu.edu>
References: <3adf6db8041102093616750b66 AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Tue, 2 Nov 2004, Barry Kelly wrote:

> I'm getting the following error when trying to install a crontab on my
> account:
>
> $ crontab -e
> # editing my crontab here...
> chown: Invalid argument
>
> I've tried updating my passwd (I live on a Win2K server domain) file
> in case it was out of date or missing local users (vs domain users),
> using
>
> $ mkpasswd -d -l -g > /etc/passwd
>
> In case it makes a difference, my home directory does not correspond
> to my username, so I edited the passwd file just after running
> mkpasswd. However, I still get the same problem. I've tried fiddling
> with the ownership of /var/cron/tabs in case that was a problem, but I
> then got "access denied" errors, so I backed off.
>
> Cron is currently running on my system, and was installed with:
>
> ~$ cygrunsrv -I cron -p /usr/sbin/cron.exe -a -D
>
> I stopped and started it again after changing /etc/passwd. Process
> Explorer tells me cron is running under the local SYSTEM account.
>
> I've run 'strace crontab saved' and inspected the output; the chown
> syscall is returning -1, but it doesn't seem to give me any more
> information.
>
> Any ideas?

Check your /etc/group...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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