Use this chmod calculator tool to easily determine the correct file permissions for your Unix and Linux systems.
CHMOD Calculator
How to Use the CHMOD Calculator
Select the permissions you require for the owner, group, and public by checking the appropriate boxes for Read (r), Write (w), and Execute (x). Once you have made your selections, click the ‘Calculate’ button to generate the corresponding numeric CHMOD value. This value can then be used to set file permissions on a UNIX or Linux system.
How the Calculator Works
The calculator converts the selected permissions to their numeric equivalents (Read = 4, Write = 2, Execute = 1) for each user type (Owner, Group, Public). It then sums these values for each user type which results in three digits. The first digit is for the owner, the second for the group, and the third for the public. The final result is a concatenation of these three digits.
Limitations
The calculator provides a quick and easy way to determine CHMOD values but does not set the permissions itself. It is up to the user to apply this value correctly using a command-line interface or file management tool that supports CHMOD operations.