←

Linux Chmod Permissions Calculator & Command Generator

Permission Group Read (r / 4) Write (w / 2) Execute (x / 1)
Owner (User / u)
Group (Group / g)
Others (Others / o)
Special Permission Bits:
chmod 755 filename
chmod u=rwx,g=rx,o=rx filename

            
Instructions for use

Linux and Unix-like operating systems use octal numbers and symbolic notation to control file access. Permissions are divided into three entities: Owner (u), Group (g), and Others (o). Each entity has Read (r=4), Write (w=2), and Execute (x=1) permissions. Adding these yields the octal value (e.g., 4+2+1=7 for full access, 4+2=6 for read/write). Special bits include SetUID (4000), SetGID (2000), and Sticky Bit (1000). This tool allows bidirectional conversion and command generation.

Linux Chmod Permissions Calculator & Command Generator

Help: Click checkboxes in the matrix to see real-time octal values and chmod commands. You can also edit the octal or symbolic input fields directly. Supports custom file paths and the -R recursive flag.

settings