0% found this document useful (0 votes)
19 views1 page

Linux File Permissions

Uploaded by

manali.devops
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views1 page

Linux File Permissions

Uploaded by

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

File permissions

Use the chmod command to set file permissions.


The chmod command uses a three-digit code as an argument.
The three digits of the chmod code set permissions for these groups in this order:
1. Owner (you)
2. Group (a group of other users that you set up)
3. World (anyone else browsing around on the file system)
Each digit of this code sets permissions for one of these groups as follows. Read is 4. Write is 2.
Execute is 1.
The sums of these numbers give combinations of these permissions:
 0 = no permissions whatsoever; this person cannot read, write, or execute the file
 1 = execute only
 2 = write only
 3 = write and execute (1+2)
 4 = read only
 5 = read and execute (4+1)
 6 = read and write (4+2)
 7 = read and write and execute (4+2+1)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy