Finding a file's permissions |
|
Use the ls -l command to show the permissions of a file.
See
`Listing file details' for a complete description
of the output from ls -l.
The permissions appear at the beginning of each line of the output
from ls -l command. Here is an example:
-rwxrw-r-- 1 john 1659 97 Mar 10 23:46 schedule
The first character is ``-'' for ordinary files. The next three
characters give the owner's permissions; the next three show the
group permissions; and the last three show the world permissions.
In this example, the owner has permissions ``rwx'' (read, write,
and execute); the group permissions are ``rw-'' (read and write); and
the world permissions are ``r--'' (read only).
|
John Shipman, john@nmt.edu
Last updated: 1995/12/04 19:39:34 UT URL: http://www.nmt.edu/tcc/help/unix/findperm.html |
|