This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with installing crontab on Cygwin(1.5.11/1005.11.0.0)/WinXP SP2


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]