SlideShare a Scribd company logo
6
Most read
8
Most read
13
Most read
LINUX
FILE PERMISSIONS
WHY FILE PERMISSIONS ?
LINUX….
MULTITASKING SYSTEM
MULTIUSER SYSTEM
Permissions can be set to files and
Directories.
chmod COMMAND
• To change the permissions of a file or directory
• Syntax :
chmod assignment_expression filename
• Assignment expression comprises
Category of users
Granting or denial of permission
Types of users
Types of Users
• Owner - owner of the file or directory.
• Group - group of related users.
• All/Other- Other users.
Types of Permissions
• Read - read the file or list files in the directory
• Write - add new content to a file or add new
files to the directory
• Execute - access the contents
of a file or
access files in the directory
WHILE LISTING….
PERMISSION VALUES
VALUES FOR SYMBOLIC MODES
Chmod
• SINGLE USER
• Example :
• Cmd : chmod u + r filename
• The above command grants permission to a single user
to read the file .
Chmod
MULTIUSERS
• Example :
• Cmd : chmod u + rw , g = x ,o –w filename
• The above command grants
permissions to multiple users.
OCTAL NOTATION
Cmd : chmod 761 filename
Cmd : chmod u = rwx, g = rw,o = x filename
The above commands are
equivalent to each other.
EXAMPLES USING OCTAL VALUES
EXAMPLES USING SYMBOLIC
NOTATIONS
Chown command
• To change the owner / user of the file / directory.
• An administrator command
• Only the root user can change the owner of the
file / directory.
• Syntax:
chown [options] newowner file/dir name
Chgrp command
• To change the group of a file / directory.
• An administrator command.
• Syntax :
chgrp [options] newgroup file/dirname
THANK YOU

More Related Content

PPTX
File permission in linux
PDF
Linux: LVM
PPTX
Linux commands
PDF
Do an xay_dung_website_thuong_mai_dien_tu
PPTX
Disk and File System Management in Linux
PDF
Phân tích và thiết kế hệ thống quản lý bán hàng
PPTX
Linux file system
DOC
PHÂN TÍCH THIẾT KẾ HỆ THỐNG BÁN HÀNG QUA MẠNG
File permission in linux
Linux: LVM
Linux commands
Do an xay_dung_website_thuong_mai_dien_tu
Disk and File System Management in Linux
Phân tích và thiết kế hệ thống quản lý bán hàng
Linux file system
PHÂN TÍCH THIẾT KẾ HỆ THỐNG BÁN HÀNG QUA MẠNG

What's hot (20)

PPTX
File permissions
PDF
Linux systems - Linux Commands and Shell Scripting
PPT
Basic 50 linus command
PPTX
Linux User Management
PDF
File permission of linux
PDF
Users and groups in Linux
PPT
Linux command ppt
PDF
Shell scripting
PDF
Linux basic commands with examples
PPT
Linux Administration
ODP
Linux commands
PDF
Linux Training For Beginners | Linux Administration Tutorial | Introduction T...
PPTX
File permission in Linux
PPT
Linux file system
PPTX
Linux commands
PPSX
User Administration in Linux
PPT
Linux presentation
PPTX
Basic commands of linux
PPTX
Unix Linux Commands Presentation 2013
PPT
Linux basics
File permissions
Linux systems - Linux Commands and Shell Scripting
Basic 50 linus command
Linux User Management
File permission of linux
Users and groups in Linux
Linux command ppt
Shell scripting
Linux basic commands with examples
Linux Administration
Linux commands
Linux Training For Beginners | Linux Administration Tutorial | Introduction T...
File permission in Linux
Linux file system
Linux commands
User Administration in Linux
Linux presentation
Basic commands of linux
Unix Linux Commands Presentation 2013
Linux basics
Ad

Viewers also liked (20)

PPTX
Linux.ppt
PPT
06 users groups_and_permissions
PDF
Deadlock
PPT
Handling Page Fault
PPT
deadlock avoidance
PDF
linux file system
PPT
37 segmentation
ODP
4. linux file systems
PPT
Page Replacement
PPTX
Producer consumer
PPT
Deadlocks in operating system
PDF
File system
PDF
File System Hierarchy
PPTX
Kernel (computing)
PPTX
System calls
PDF
Virtual Memory and Paging
PPT
Introduction to System Calls
PPT
Chapter 7 - Deadlocks
PPTX
Paging and segmentation
PPTX
Deadlocks in operating system
Linux.ppt
06 users groups_and_permissions
Deadlock
Handling Page Fault
deadlock avoidance
linux file system
37 segmentation
4. linux file systems
Page Replacement
Producer consumer
Deadlocks in operating system
File system
File System Hierarchy
Kernel (computing)
System calls
Virtual Memory and Paging
Introduction to System Calls
Chapter 7 - Deadlocks
Paging and segmentation
Deadlocks in operating system
Ad

Similar to Filepermissions in linux (20)

PDF
Course 102: Lecture 14: Users and Permissions
PPTX
Topic 3-1_More_Linux_Commands.pptx
PPTX
File handling and permisions.pptx
PPTX
Licão 04 permissions
PPT
intro unix/linux 09
PPTX
Ai module
PPT
Learning Linux v2.1
PDF
File Access Permission
PPTX
05. Ubuntu Terminal Commands.pptx
PPT
04-1-Linux.ppt
PPT
OS Unit IV.ppt
PPT
Linux: Basics OF Linux
PPTX
Introduction to linux day3
PPS
QSpiders - Unix Operating Systems and Commands
PDF
Unit 4 user and group
PPT
User administration concepts and mechanisms
PPT
Chapter 1 Overview of system administration.ppt
PDF
Ch10 file system interface
PDF
Linux OS guide to know, operate. Linux Filesystem, command, users and system
PPT
Unix/Linux Basic Commands and Shell Script
Course 102: Lecture 14: Users and Permissions
Topic 3-1_More_Linux_Commands.pptx
File handling and permisions.pptx
Licão 04 permissions
intro unix/linux 09
Ai module
Learning Linux v2.1
File Access Permission
05. Ubuntu Terminal Commands.pptx
04-1-Linux.ppt
OS Unit IV.ppt
Linux: Basics OF Linux
Introduction to linux day3
QSpiders - Unix Operating Systems and Commands
Unit 4 user and group
User administration concepts and mechanisms
Chapter 1 Overview of system administration.ppt
Ch10 file system interface
Linux OS guide to know, operate. Linux Filesystem, command, users and system
Unix/Linux Basic Commands and Shell Script

Recently uploaded (20)

PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
RMMM.pdf make it easy to upload and study
PDF
01-Introduction-to-Information-Management.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
master seminar digital applications in india
PDF
Trump Administration's workforce development strategy
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Final Presentation General Medicine 03-08-2024.pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
human mycosis Human fungal infections are called human mycosis..pptx
RMMM.pdf make it easy to upload and study
01-Introduction-to-Information-Management.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
master seminar digital applications in india
Trump Administration's workforce development strategy
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
STATICS OF THE RIGID BODIES Hibbelers.pdf
Microbial diseases, their pathogenesis and prophylaxis
Complications of Minimal Access Surgery at WLH
Orientation - ARALprogram of Deped to the Parents.pptx
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Supply Chain Operations Speaking Notes -ICLT Program
Final Presentation General Medicine 03-08-2024.pptx
Chinmaya Tiranga quiz Grand Finale.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Final Presentation General Medicine 03-08-2024.pptx

Filepermissions in linux