Linux File Permissions Checker

See whether an account can read, write or execute a file. For a directory, check whether it can list names, look up entries or change the directory’s contents.

Check an account’s access

Paste an octal mode, rwx permissions or one ls -l row.

Include the immediate parent directory

Checks ordinary mode bits for an unprivileged account and the parent you enter. Check other ancestors, ACLs, mount flags and security policies on the system. The check runs in this tab.

Why a readable file can still give “Permission denied”

For a basic mode, Linux uses the owner bits if the account owns the file. Otherwise it uses the group bits if the account belongs to the owning group, or the other bits if neither applies. If the listing has an ACL, check the ACL for that account.

A 0644 file has read permission for other accounts, but an account outside a 0700 parent can’t look it up. Check search permission (x) on every directory along the path. Use ls -ld to inspect a directory’s own mode.

Removing a file is a change to its parent directory. Check write and search permission on the parent and any sticky bit that restricts who can remove or rename its entries.

Linux path resolutionGNU file mode documentation

Decode multiple ls -l rowsPreview a symbolic chmod change