04 1 Linux
04 1 Linux
UNIX
You can have many users:
logged into a system simultaneously,
each running many programs.
Access Permissions
There are three permissions for any file, directory or
application program.
Access Permissions
Each of the three permissions are assigned to three
defined categories of users.
The categories are:
Access Permissions
One can easily view the permissions for a file by invoking a
long format listing using the command
ls -l
Access Permissions
The permissions for this file are listed at the start of the
line, starting with rwx.
Access Permissions
This listing indicates that the file is readable, writable,
and executable by the user who owns the file (user Ali)
as well as the group owning the file (which is a group
named student).
$ ls –l
File permissions
Absolute mode:
We use octal (base eight) values represented like this:
Letter Permission Value
R read 4
W write 2
X execute 1
- none 0