Modify File and Directory Permissions Flashcards
gives you the long list of files and directories with ownership and permissions, etc
ls -l
chmod option to hide most error messages
-f
chmod option to report changes made in permission
-c
default permissions for files created by root
644
default permissions for directories created by root
755
default permissions for directories created by users with limited access rights
775
default permissions for files created by users with limited access rights
664
Where to set system-wide unmask
/etc/bashrc
/etc/profile
Where to set per-user unmask
~/.bashrc
numerical value of read
4
numerical value of write
2
numerical value of execute
1
List hidden files
ls -a
display long list of files and directories (also known as long format)
ls -l
define exactly what a user is allowed to do with a particular file or directory
permission attributes