version 1.6

Reini Urban
Thu Jul 8 10:00:00 GMT 2004

Harig, Mark wrote:
> Please report the version number that this
> script reports so that improvements can be
> made to it.

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

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.
Without the space it runs fine.
Reini Urban

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list