UNIX/Linux Tutorial
File system security (access rights)
In
your unixstuff directory, type
%
ls -l (l for long listing!)
You
will see that you now get lots of details about the contents of your
directory, similar to the example below.
Each
file (and directory) has associated access rights, which may be found
by typing ls
-l.
Also, ls
-lg
gives additional information as to which group owns the file (beng95
in the following example):
-rwxrw-r--
1 ee51ab beng95 2450 Sept29 11:52 file1
In
the left-hand column is a 10 symbol string consisting of the symbols
d, r, w, x, -, and, occasionally, s or S. If d is present, it will be
at the left hand end of the string, and indicates a directory:
otherwise - will be the starting symbol of the string.