Using Unix Home Using Unix 1 Using Unix 2 Using Unix 3

 

Basics of Setting Permissions

  • Each file has a set of permissions
  • 7 points or bits
    • 4-read
    • 2-write
    • 1-execute
  • directory(1) user(3) group (3) world(3)
    • -rwx rwx rwx
    • -rwx --- ---
    • drwx r-x r-x
  • To protect your work: chmod 700 [directory_name]
    • -drwx --- ---
  • chmod 700 [directory_name] : only you can see or or change any files in that directory

HOME | BACK | NEXT