linux permissions chmod

linux docker vm
Post Reply
dev
Site Admin
Posts: 60
Joined: 09 Mar 2021, 17:52

linux permissions chmod

Post by dev »

Code: Select all

-rw-rw-r--
drwxr-xr-x
First letter
- regular file
d directory
c character special file
l symbolic link

r - read
w - write
x - execute

x in directory means can list content.

chmod: change mode
chmod

Code: Select all

chmod 664 example.txt
chmod u=rw,g=rw,o=r example.txt
chmod a+rwx,u-x,g-x,o-wx example.txt


Image
Attachments
16_Altering_Permissions.pdf
(1.37 MiB) Downloaded 603 times
chmod cheat sheet.png
chmod cheat sheet.png (8.66 KiB) Viewed 2683 times
15_Reading_Permissions.pdf
(2.3 MiB) Downloaded 594 times
Reading_Permissions.png
Reading_Permissions.png (46.17 KiB) Viewed 2686 times
Post Reply