February 2003
Intermediate to advanced
1440 pages
30h 42m
English
The best place to begin discussing permissions is by issuing the ls command, which lists the contents of directories. Permissions are the means by which files and directories are made secure on your UNIX system. Because UNIX is multi-user, potentially thousands of users could be accessing the files on a system. Permissions controls who has access to what files.
Here is an example ls -l command and output:
$ ls -l sort
-rwxr-x--x 1 marty users 120 Jul 26 10:20 sort
Issuing this command has produced a lot of information relating to a file called sort. Let's begin to understand what this listing has produced by analyzing the first set of characters (-rwxr-x--x). This set of characters is made up of four distinct fields, as shown in ...
Read now
Unlock full access