Code: Select all
-rw-rw-r--
drwxr-xr-x
- 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](Reading_Permissions.png)