Linux Commands - find files that match permission

by
Jeremy Canfield |
Updated: December 29 2020
| 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