This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Problem with installing crontab on Cygwin(1.5.11/1005.11.0.0)/WinXP SP2
- From: Barry Kelly <barry dot j dot kelly at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 2 Nov 2004 17:36:24 +0000
- Subject: Problem with installing crontab on Cygwin(1.5.11/1005.11.0.0)/WinXP SP2
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=VYn1mMbOls2/ywSlOifK4s2E7TEVdIJYw8mc2fEjeadL+KsiXrWHHtH7IchxphIBgX1k2oJPElfWiFlrmW/7oYFD7J8VDo5gYVYRfaTKQqNgjmT7qnYAZJmfyLRJj4HVF9UUUzrnO+RJHy5TqM2U/bSz1gF3OGLkNkgUe1CCenw=
- Reply-to: Barry Kelly <barry dot j dot kelly at gmail dot com>
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/