File Access Permissions (FAPS)
In a multiuser environment, such as Linux, multiple users work on the system simultaneously.
These users share system resources, such as the hard disk, memory, and devices attached to
the system. Therefore, one of the important tasks of an administrator is to manage the files
and directories of the users and groups.
Each user on the Linux system is assigned a user login name, a password, and a group or
groups to which the user belongs. Consider that you along with your coworkers are working
on a project, and all of you need to read, write, or execute a set of files. Other users on the
network should not have access to this set. To do this, you can create a group and add the
users working on the project to this group. Now, youcan grant permissions to this group on
the set of files so that they can be accessed.
folders. File access
n Linux, file access permissions (FAPs) help to secure files and
permissions refer to the permissions associated with a file with respect to the following:
" The file owner
" The group owner
" Other users
represented by the letters r,
Ihe permissions that can be granted or revoked are symbolically
users in Linux.
W, and x and are grouped together as wx for different
The pemissions for a file or a directory are:
4.
E-ndicates the read permission, It can be represented by the number
W-ndicates the write permission, It can be represented by the number 2.
*ndicates the execute permission, It can be represented by the number 1.
, Table 6.1: File Access Permissions
Access type Denoted by Actlon permltted on a flle Actlon permitted on a directory
Read Allows you to display, copy, and Allows you to list the contents of the
compile the file. directory.
Wrte Allows you to edit, rename, and Allows you to create new files and
move the fle to another location. subdirectories within this directory.
Execute Allows you to execute the file with Allows you to move to the specified
the read permission. directory using the cd command.
In a multiuser environment, such as Linux, multiple users work on the system simultaneously.
These users share system resources, such as the hard disk, memory, and devices attached to
the system. Therefore, one of the important tasks of an administrator is to manage the files
and directories of the users and groups.
Each user on the Linux system is assigned a user login name, a password, and a group or
groups to which the user belongs. Consider that you along with your coworkers are working
on a project, and all of you need to read, write, or execute a set of files. Other users on the
network should not have access to this set. To do this, you can create a group and add the
users working on the project to this group. Now, youcan grant permissions to this group on
the set of files so that they can be accessed.
folders. File access
n Linux, file access permissions (FAPs) help to secure files and
permissions refer to the permissions associated with a file with respect to the following:
" The file owner
" The group owner
" Other users
represented by the letters r,
Ihe permissions that can be granted or revoked are symbolically
users in Linux.
W, and x and are grouped together as wx for different
The pemissions for a file or a directory are:
4.
E-ndicates the read permission, It can be represented by the number
W-ndicates the write permission, It can be represented by the number 2.
*ndicates the execute permission, It can be represented by the number 1.
, Table 6.1: File Access Permissions
Access type Denoted by Actlon permltted on a flle Actlon permitted on a directory
Read Allows you to display, copy, and Allows you to list the contents of the
compile the file. directory.
Wrte Allows you to edit, rename, and Allows you to create new files and
move the fle to another location. subdirectories within this directory.
Execute Allows you to execute the file with Allows you to move to the specified
the read permission. directory using the cd command.