[SATLUG] find

travis+ml-satlug at subspacefield.org travis+ml-satlug at subspacefield.org
Tue Apr 29 17:24:40 CDT 2008

According to the find manpage:

       find . -perm /220
       find . -perm /u+w,g+w
       find . -perm /u=w,g=w

       All three of these commands do the same thing, but the first one uses the octal representation of the file mode, and  the
       other  two  use the symbolic form.  These commands all search for files which are writable by either their owner or their
       group.  The files don't have to be writable by both the owner and group to be matched; either will do.

Doesn't this seem wrong to anyone?

IMHO, it should work the same as chmod, which everyone is familiar
with; namely, if you specify g+w, it means that group permissions
contain at least write permission, and that g=w means that group
permissions are exactly write (no group execute or group read).

Crypto ergo sum.  https://www.subspacefield.org/~travis/
If you are a spammer, please email john at subspacefield.org to get blacklisted.

More information about the SATLUG mailing list