Learn how to audit permissions on your Linux system using the find command with the -perm option - along with four bonus permissions auditing methods - in this RedHat tutorial.
Let's face it: The Linux filesystem can be complex. Add in mounted remote filesystems, removable media, and any server-specific directories you have created, and you or your users may find it difficult to remember exactly where a given file is stored. That's where the find
command comes in. It allows you to search for files or directories based on various criteria. I'll do a basic review of find
below, but this article's focus is a bit different: Find resources by permissions.
Why do I need to find by permissions?
- Security audit
- Troubleshoot user access complaints
- Troubleshoot application access issues