Bootstrap FreeKB - Linux Commands - find files that match permission
Linux Commands - find files that match permission

Updated:   |  Linux Commands articles

The find command with the -perm option can be used to return all files and directories that have a certain set of permissions. In this example, all files and directories below /tmp that have 775 permissions will be returned.

find /tmp -perm 0775

 

In this example, all files and directories below /tmp not have 775 permissions will be returned.

find /tmp ! -perm 0775

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter b214b2 in the box below so that we can be sure you are a human.