Find files with particular permissions

Find all files in /home/steph that are readable for other users:

find /home/steph -perm -o=r

Find all files in /home/steph that are readable or writeable (or both) for the group or others (or both):

find /home/steph -perm +go=rw

References

CLI Magic: Searching with find

Last modified: 06/03/2008 Tags: (none)

Go to top

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top