stu nicholls dot com | menu - Professional dropdown #3

click here

Linux: Managing the permission of file

Chmod command

Thus it signifies that

  1. The owner can read, write and execute the file msc
  2. The members of the group can read and execute the file but can not write
  3. All others can only execute the file msc

r = read , w =write, x = execute

Example: chmod go-x msc (This takes away the execute permission from group as well as others)

Example: chmod go+r, go-w msc (This gives read permission and takes away write permission from group and others)

Example: chmod go=r,u=rw msc ( This gives read and write permission to the owner and read permission to group and others. The same permission giving can be achieved by chmod 644 msc)

Our aim is to provide information to the knowledge seekers. 

comments powered by Disqus
click here
click here