In cygwin, ls adds a plus sign (+) after the file mode to indicate there is an alternate access method, like this.
% touch foo % ls -l foo -rw-r--r--+ 1 200006507 None 0 2010-07-21 11:32 foo chmod affects the access permissions according to the ntsec system, but has no effect on this alternate access method. % chmod 644 foo % ls -l foo -rw-r--r--+ 1 200006507 None 0 2010-07-21 11:32 foo Is there a way to 'clean up' the access control information for a file, so that its access permissions are exactly those cygwin would set to get the current file mode, with no others? It would have an effect like this: % command-I-am-looking-for foo % ls -l foo -rw-r--r-- 1 200006507 None 0 2010-07-21 11:32 foo (the plus-sign is now gone) I take care of file permissions carefully via cygwin chmod but I found that on one machine somehow 'Authenticated Users' got write permission on files to which I had otherwise applied 'chmod og-w'. I'd like to be able to fix problems like this and whatever else might have snuck in. Thanks, Fred Wheeler -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple