How can I recursively verify the permissions within a given subdirectory?
Posted
by Mike
on Server Fault
See other posts from Server Fault
or by Mike
Published on 2010-06-06T02:19:57Z
Indexed on
2010/06/06
2:23 UTC
Read the original article
Hit count: 286
permissions
|unix
I'd like to verify that nothing within /foo/bar is chmod 777. Or, alternatively, I'd like to make sure that nothing within /foo/bar us owned by user1 or in group1.
Is there any way I can recursively verify the permissions within a given subdirectory to make sure there aren't any security holes?
Notice that I do not want to change all the permissions to something specific, nor do I want to change the owner to something specific, so a recursive chmod or chown won't do it...
Thanks!
© Server Fault or respective owner