Changes

Jump to: navigation, search
File Permissions
''Permissions for Directory files have a different meaning than permissions for regular files:''  :*Referring . Refer to the <u>left-most</u> diagram above, '''read''' ('''r''') permissions permit viewing directory contents, '''write''' ('''w''') permissions allow subdirectories and regular files to be created in that directory, and '''execute''' ('''x''') permissions permit access to that directory. These permissions relate diagrams to the 3 categories: '''user''' (owner), '''same group members''', '''other group members'''. :*Referring right to see the <u>rightmost</u> diagram above, '''read''' ('''r''') explanation of permissions permit viewing and how they differ between a directory and a regular file contents, '''write''' ('''w''') permissions allow file contents to be modified/edited, and '''execute''' ('''x''') permissions permit the file to be run (e.g. running a '''program''' or '''shell script'''). Again, these permissions relate to the 3 categories: '''user''' (owner), '''same group members''', '''other group members'''.  '''NOTE:''' The A symbol ''dash'' "'''-'''" indicates that the permission is has '''NOT''' been granted.
The permissions of '''newly-created''' directories and regular files are automatically assigned via a '''user mask''' (we will discuss this shortly). In order to change permissions for directories and regular files, you would use the '''chmod''' command.
13,420
edits

Navigation menu