File Security
Viewing Permissions ls –l
Permission Values
Permissions First character indicates file/directory 3 char. rwx User (Owner) permissions 3 char. rwx Group permissions 3 char. rwx Other (Public) permissions Permission Order of Precedence 1. User 2. Group 3. Other
Permission Examples
Permissions In Action
Default Permissions
The chmod Command Use chmod to change permissions on a file or directory. Two modes of operation –Relative (Symbolic) –Absolute (Octal)
chmod Symbolic Mode
chmod Octal Mode
Octal Values
Octal Default Permissions Default file permission –644 –rw-r--r-- Default directory permission –755 –rwxr-xr-x