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]

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


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?

-- Barry

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