Jump to content
11 posts in this topic

Recommended Posts

Instant chmod tutorial.

 

Read = 4

Write = 2

Execute = 1

 

Add the numbers to get what you want. Read and write is 4+2, or 6. Read, write, execute is 4+2+1 or 7

 

Then remember that the permission order is Owner, Group, World. Give each one the number corresponding to the access you want them to have.

 

So the simple command could be:

 

chmod 755 filename

 

Which equates to "give Owner read, write, execute, and the Group and World read and execute only". Note that you need to be able to read a file to execute it. Entering zero means no access. Once you've learned this it makes for a very quick and easy permission change.

Link to comment
Share on other sites

 Share

×
×
  • Create New...