Manage File Permissions and Ownership Flashcards
What is level 4 Octal permission
Read permission
What is level 2 Octal Permission
Write permission
What is level 1 Octal permission
execute permission
What is level 0 Octal permission
No permssion
What does the command chown do
Change the ownership of a file or directory
What does the command chmod do
Change the mode of a file or directory
what does the command chgrp do
Change the group ownership of a file or folder
What does the command SUID do
The set user ID bit. Files with an s in the place of the x permission within the users column have this set
What does the command SGID do
Assigns group ownership to files
What does the command Sticky bit do
only allows the creator of a file to remove the file
What does the umask command do
Shows the current umask settings and can set a new umask value for the current shell session
What does the umask value command do
Subtract the umask value from the default permission to get the currently configured permission value
What is stored in /etc/bashrc
umask set for whole system
What is stored in /home/[user]/.bashrc
umask set for individual user