[SATLUG] find

Ernest De Leon edeleonjr at gmail.com
Tue Apr 29 17:38:47 CDT 2008

it would depend on how you read the statement...since it is looking for
files that are writable, having at least write permissions and having
exactly write permissions still satisfy the search critera...there are no
other exclusionary arguments in those strings


On Tue, Apr 29, 2008 at 3:24 PM,
<travis+ml-satlug at subspacefield.org<travis%2Bml-satlug at subspacefield.org>>

> 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/<https://www.subspacefield.org/%7Etravis/>
> If you are a spammer, please email john at subspacefield.org to get
> blacklisted.
> --
> _______________________________________________
> SATLUG mailing list
> SATLUG at satlug.org
> http://alamo.satlug.org/mailman/listinfo/satlug to unsubscribe
> Powered by Rackspace (www.rackspace.com)

Ernest de Leon

"They who can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety." - A common 18th Century sentiment
voiced by Benjamin Franklin

"A patriot must always be ready to defend his country against his
government." - Edward Abbey

"All that is necessary for evil to triumph is for good men to do nothing." -
Edmund Burke, English statesman and political philosopher (1729-1797)

More information about the SATLUG mailing list