next up previous contents
Next: Changing file permission (chmod, Up: File properties (ls -l) Previous: File type (ls -F,   Contents

File permission

The next nine columns have to do with file permission. The first three columns are concerned with the owner's privileges, the middle three deal with group privileges, and the last three have to do with the public's privileges. At the JAC, there is some use for group permissions since some staff members, unlike visitors have permission to work on programs.

There are three types of protection; the ability to read a file (r), the ability to write (create, modify, or remove) a file (w), and the ability to execute the file (x). If we look at the file ``params'' we can see that the user bbaggins and members of his group can both read and write the file, while others can only read the file. No one can execute the file ``params'', which could simply mean that it is not an executable file.

With a directory r,w,x have slightly different meanings compared to their normal definitions. You must have read access before you can ls the contents of a directory or cd into it. To list the contents of the directory you must also have execution access and to create or remove files in that directory you need write access.


next up previous contents
Next: Changing file permission (chmod, Up: File properties (ls -l) Previous: File type (ls -F,   Contents
h.stilmack@jach.hawaii.edu