Parse UNIX file permissions

Given a UNIX/Linux file permission string in octal or textual format, this operation explains which permissions are granted to which user groups.

Input: TextResult: Text

Text input

Examples

Explain the sticky bit in a shared temporary-directory permission

Understand the trailing t in drwxrwxrwt and how it differs from plain world-write permission.

Input

drwxrwxrwt

Expected checks

Case-insensitive
Contains "1777"
Contains "drwxrwxrwt"
Contains "sticky bit"
An executable owned by its author

Input

-rwxr-xr-x

Expected checks

Case-insensitive
Contains "755"
A private SSH key

Input

-rw-------

Expected checks

Case-insensitive
Contains "600"
A world-readable text file

Input

-rw-r--r--

Expected checks

Case-insensitive
Contains "644"
A set-user-ID executable

Input

-rwsr-xr-x

Expected checks

Case-insensitive
Contains "4755"

Input should be in either octal (e.g. 755) or textual (e.g. drwxr-xr-x) format.

Format reference: Parse UNIX file permissions background and specification

Related tools

Browse utils tools