OnlineConversion

CHMOD Calculator
CHMOD Calculator
Permission Owner Group Other
    Read (4)
   Write (2)
Execute (1)
Value

Chmod is a UNIX / Linux command for setting file and/or directory permissions. It is a confusing topic until you learn it, but it is needed if you plan to work with UNIX / Linux web servers.

There are three different possible user levels, each with three different possible settings.

The three user levels are Owner, Group, and Other.
The three possible settings are Read, Write, Execute.

The three settings are given numeric values. Read has a value of 4. Write has a value of 2. Execute has a value of 1.

You add together the numbers for the permissions you want. For example, for Read and Write permissions, you Chmod 6, since Read (4) + Write (2) = 6.

You would need to do that for each group. For example, Read + Write + Execute permission for Owner, and Read permission for Group and Other, would be Chmod 744

The most common setting is: Read + Write + Execute permission for Owner, and Read + Execute permission for Group and Other, would be Chmod 755

CAUTION!
If you want everyone to have full access to the file's or directories, you would Chmod 777. Which is Read/Write/Execute for all Owner/Group/Other users.  Not Wise!

 
 

Copyright © 2008-   Ted J. Mieske
All Rights Reserved.