T
Techeia
Back to Blog

Linux Filesystem  Permissions Most simplified

November 22, 2017
By Techeia

Filesystem  Permissions

Permission
On File
On directory




Read

View file contents
List directory contents (ls)

Write

Alter file contents
Alter directory contents (delete files, create files)

Execute

Run an executable file
Make it the current directory (cd to it




Numeric codes follow octal notation

      user  group other
4 2 1 4 2 1 4 2 1
      r w x r w x r w x

For example, rwxr—--x becomes 741