Thursday, October 24, 2013

Linux File Permissions

Linux File Permissions 

• 3 types of file permissions – read, write, execute 

• 10 bit format from 'ls -­l' command 

     1           2 3 4      5 6 7     8 9 10             

   file type    owner     group    others 

eg.  drwxrw­-r--­­  means owner has all three permissions,group has read and write, others have only read              permission.

• read permission = 4, write = 2, execute =1 

eg. rwxrw-­r­­--   = 764 
       673    =   rw-­rwx­-wx

No comments:

Post a Comment