This is the mail archive of the
mailing list for the Cygwin project.
RE: How to "find" all writable files in a directory tree?
At 14:44 2003-05-09, email@example.com wrote:
-perm +222 is redundant
How do you figure? There are 8 combinations of write enable bits that
this permission specification matches. For "-perm +2" only one bit is
examined and there's only one way for it to succeed.
Any of the permission bits mode are set for the file.
-perm -222 is equivalent to -perm +2
Either I'm dense or you're mistaken.
Are you assuming a FAT file system? Cygwin takes advantage of NTFS
permissions when possible (and when the now-default ntsec option of the
CYGWIN environment variable is enabled).
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html