0% found this document useful (0 votes)
39 views

Permissions

This document discusses Linux file permissions and how to manage them. It explains that there are three permissions - read, write and execute - assigned to three categories of users: the owner, the group, and others. It describes how to change permissions using the chmod command in either absolute or symbolic mode. The document also covers changing file ownership using the chown command and lists some other file attributes that impact permissions.

Uploaded by

vr.sf99
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

Permissions

This document discusses Linux file permissions and how to manage them. It explains that there are three permissions - read, write and execute - assigned to three categories of users: the owner, the group, and others. It describes how to change permissions using the chmod command in either absolute or symbolic mode. The document also covers changing file ownership using the chown command and lists some other file attributes that impact permissions.

Uploaded by

vr.sf99
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Complete

Linux Administration
Troubleshooting Skills

1
LINUX ADMINISTRATION

Permissions in Linux

Ownership Permissions File &


of Linux for any file, Directory
files directory attributes

Changing
Access
Permissions Special
Levels & & Permissions
Modes Ownership

2
LINUX ADMINISTRATION

Permissions in Linux

 There are three permissions for any file, directory.

 The following lists the symbols used to denote each, along with a brief description:

 r — Indicates that a given category of user can read a file.


 w — Indicates that a given category of user can write to a file.
 x — Indicates that a given category of user can execute the file.

3
LINUX ADMINISTRATION

Permissions in Linux

 Each of the three permissions are assigned to three defined categories of users.

 owner — The user permissions apply only the owner of the file or directory, they will not
impact the actions of other users.
 group — The group permissions apply only to the group that has been assigned to the
file or directory, they will not effect the actions of other users.
 others — The others permissions apply to all other users on the system, this is the
permission group that you want to watch the most.

4
LINUX ADMINISTRATION

Permissions in Linux

5
LINUX ADMINISTRATION

File & Directory Attributes

6
LINUX ADMINISTRATION

Permissions in Linux
 Chmod – changing file permissions

 The chmod command is used to change the permissions of a file or directory.

 chmod permissions filename

7
LINUX ADMINISTRATION

Permissions in Linux
 There are 2 ways to use the command -

 Absolute mode
 Symbolic mode

 Absolute(Numeric) Mode

 In this mode, file permissions are not represented as characters but a three-digit octal
number.

8
LINUX ADMINISTRATION

Permissions in Linux

9
LINUX ADMINISTRATION

Permissions in Linux
 Symbolic Mode

 In the Absolute mode, you change permissions for all 3 owners. In the symbolic mode, you
can modify permissions of a specific owner. It makes use of mathematical symbols to modify
the file permissions.

10
LINUX ADMINISTRATION

Permissions in Linux

11
LINUX ADMINISTRATION

Permissions in Linux

Chown - Changing File Ownership

 You can change the owner of a file by using the chown command.

 chown user:group filename

 chown sverma:db file

12
Thank You

13

You might also like