You are on page 1of 11

File Permissions

Gremond Z. Agpoon
Technical Support Engineer

1 1
Objectives
You will be able to understand how Oracle linux
treats file permission and what tools the OS
provides for permission manipulation.

2 2
Agenda
• Overview of file access Components.
• Discussion on “file access permission”
• Modification of file permission
• Q&A

3 3
Overview
File access components

• Username (or UID)


• Group (or GID)
• File Access Permission

5 4
File Access Permission
• The file access permission are codes that represents
who may access the file, relatively to the file’s user,
the file’s owner, and all other users.
• The ls –l command is the best way to view file and
directory ownership and permissions.

6 5
• The three groups indicate permissions for the owner,
group, and other users respectively.

7 6
The alphabetic permission indicators are commonly
assigned numeric values according to the scheme
shown in the table below

Alpha Numeric Permission


No permission
- 0
granted
Execute
x 1 permission
granted
Write permission
w 2
granted
Read permission
r 4
granted

8 7
Here’s the table representing octal value

9 8
Modification of file permission

chmod   Change file permissions

Syntax: chmod xxx file


xxx - 3 digit octal permission value
file - the path/file to change permissions

10 9
11 10
12 11

You might also like