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] |
> v1.6: permission fail for /etc/passwd: > for fname in /etc/passwd /etc/group; do > /usr/bin/ls -ld $fname | egrep -q '^-r..r..r.. '; > if [ $? -ne 0 ]; then > echo "The permissions on the file $fname are not correct." > echo "Please run 'chmod +r $fname', and run this script again." > return 1 > fi > done > > I have "-rw-r--r--+" which should be checked. Or is it a new > requirement > that no extended ACL must be defined? To my knowledge not. > So please delete the last space in the regex. Thank you for the bug report. I have changed the regular expression match to look for an optional trailing '+' before the space. Attached below is version 1.7 of this diagnostic script. ------------------------------------------- cron_diagnose.sh will attempt to diagnose problems with cron. It will not modify any files on your computer. You might need to run the script several times. Each time that it finds a problem, it stops and displays a descriptive message. Please read the messages that the script generates, especially if it reports no errors, but you still cannot get cron to work for you. These messages should help you to report problems that occur in setting up cron, and possibly reduce the number of messages about cron that need to be sent to the mailing list. Please report the version number that this script reports so that improvements can be made to it.
Attachment:
cron_diagnose.sh
Description: cron_diagnose.sh
-- 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] |