This is the mail archive of the
cygwin
mailing list for the Cygwin project.
[cron] 4.1 and w/XP
- From: Richard A Nelson <cowboy at vnet dot ibm dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 22 Apr 2007 18:58:43 -0700
- Subject: [cron] 4.1 and w/XP
I run cygwin on a variety of systems (Vista, 2k3, XP).
With the update to cron 4.1, my XP system now fails to process /etc/crontab
due to 'WRONG FILE OWNER', where it was working fine.
I have tried changing ownership to the following, all with the same results:
root:root
root:system
system:root
administrators:root
root:administrators
I do have the file mode as 0640 for all of these tests.
# getfacl /etc/crontab
# file: /etc/crontab
# owner: root
# group: root
user::rw-
group::r--
mask:rwx
other:---
/etc/passwd is thus (in part)
SYSTEM:*:18:18:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
root:*:0:0:...-1003:/home/root:/bin/bash
/etc/group is (also in part)
SYSTEM:S-1-5-18:18:
None:S-1-5-21-1214440339-1417001333-725345543-513:513:
root:S-1-5-32-544:0:root
Administrators:S-1-5-32-544:544:Administrator,root
I'll not be updating the other systems, until I find a workaround for this -
cron is an integral part of my process !!!
The potential problems I can see are:
* root is *not* administrator, but another account with administrator group
rights (yeah, I know this doesn't work so nice under vista)
* under xp, cron appears to run as system
* system(18) doesn't map to root(0)
I need to have root as 0 for cfengine, and other software, but I'm flexible as
to the assignments of system/administrator/administrators :)
--
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/