Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Filesystem Permissions in Linux/Unix
Search
Arash Badie Modiri
November 14, 2012
1
93
Filesystem Permissions in Linux/Unix
Arash Badie Modiri
November 14, 2012
Tweet
Share
More Decks by Arash Badie Modiri
See All by Arash Badie Modiri
Directed Percolation in Temporal Networks (CCS 2021)
arashbm
0
62
Reachability estimation in temporal networks
arashbm
1
54
Error and Attack Tolerance in Public Transport Networks: A Temporal Networks Approach
arashbm
2
41
Community detection in Multilayer Networks
arashbm
0
87
History of Subatomic Physics
arashbm
0
80
Nanowires
arashbm
0
110
Using Linux/Unix Shell
arashbm
3
220
Getting That Piece of Software to Run on Your Linux Device
arashbm
1
90
Getting Started on Ubuntu
arashbm
2
150
Featured
See All Featured
What the flash - Photography Introduction
edds
64
11k
Making Projects Easy
brettharned
109
5.5k
The Invisible Side of Design
smashingmag
294
49k
jQuery: Nuts, Bolts and Bling
dougneiner
59
7.1k
Faster Mobile Websites
deanohume
300
30k
Building Flexible Design Systems
yeseniaperezcruz
320
37k
Statistics for Hackers
jakevdp
790
220k
Building Adaptive Systems
keathley
32
1.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
10
1.5k
Designing the Hi-DPI Web
ddemaree
276
33k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
660
120k
Code Reviewing Like a Champion
maltzj
515
39k
Transcript
Filesystem Permissions In Linux and other Unix-like Operating Systems Part
One: What's different? Part Two: How to manage? Part Three: What's new?
Files are files, directories are files and devices are files.
Viewing, modifying or executing
Viewing (read) := 4 Modifying (write) := 2 Executing (execute)
:= 1
It's your file. Yours.
Owner Group Others
$ ls -l /home/arashbm/percise.iso -rw-rw-r-- 1 arashbm arashbm (…) precise.iso
-rw-rw-r-- Owner rw- 4+2+0=6 Group rw- 4+2+1=7 Other r-- 4+0+0=4
674
$ chmod MODE FILE $ chmod 674 percise.iso $ chmod
ug+rwx percise.iso $ chmod o-rx percise.iso
$ chown OWNER[:GROUP] FILE $ chown arashbm:arashbm\ percise.iso $ chown
root percise.iso
NVIDIA joins Linux Foundation After Intel & AMD
None
Linux From Scratch 7.1 published
MasS: Metal as a Service
Charming With
RHES vs. Ubuntu Server Edition