I'm looking for a Linux command to go through all the directories on my server and find all files with 777 permission. The output would be a list of all those files with full path.
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
migrated from stackoverflow.com Nov 16 '09 at 3:19
|
Just like your last question, use
|
|||
|
|
|
it's as easy as:
if you only want to match files, use this instead:
|
|||
|
|
|
And if you like to find all files without Permission 0777 then just enter a ! before the perm, e.g.
|
|||
|
|
|
You can also change the permissions or ownership of all those files resulting from the
|
||||
|
|