File Permission Explainer
Explain Linux file permission patterns, practical access outcomes, and security posture for files and directories.
Input
Enter a numeric or symbolic permission and choose whether you want to interpret it as a file or a directory.
Result
Permission translation, practical meaning, and security posture for the selected context.
Breakdown
Owner can list directory entries, create, rename, or delete entries, and enter or traverse the directory.
Group can list directory entries, create, rename, or delete entries, and enter or traverse the directory.
Others can list directory entries and enter or traverse the directory.
How this behaves
As a file permission set, 775 means the owner can read the file, modify the file, and execute the file, the group can read the file, modify the file, and execute the file, and others can read the file and execute the file.
As a directory permission set, 775 means the owner can list directory entries, create, rename, or delete entries, and enter or traverse the directory, the group can list directory entries, create, rename, or delete entries, and enter or traverse the directory, and others can list directory entries and enter or traverse the directory.
This permission set is risky because write access reaches beyond the owner. World- or group-writable directories are a common source of operational mistakes and abuse.
Common presets
Permission interpretation quick guide
The same rwx triplet means different things depending on whether the target is a file or a directory.
Read
For a file, read allows content viewing. For a directory, read allows listing entries.
Write
For a file, write allows content changes. For a directory, write allows creating, renaming, and deleting entries when execute also allows traversal.
Execute
For a file, execute allows running it. For a directory, execute allows traversing or entering it.
Related tools
Use the neighboring permission tools when you need translation or default-mode calculation.