Control Access to Files Flashcards
What are the three file ownership permissions?
A file is owned by a user, single group, and other users.
What permission applies?
The most specific.
What permissions override group permissions?
User permissions
What permissions do group permissions override?
Permissions other than user permissions.
What does the ls -l option command do?
The command expands the file listing to include both the file permissions and ownership.
What can the chmod command do?
It can change file permissions from the command line.
What two methods can chmod command use to represent permissions?
Symbolic or Octal
What does the chown command do?
Changes file ownership.
what does chown -R (–recursive) do?
Changes the ownership of a directory tree.
What does the umask command without arguments do?
Displays the current umask value of the shell.
What does every process on the system have?
umask
Where are the default umask values for Bash defined?
/etc/login.defs
What settings location might affect the /etc/login.defs file?
/etc/profile, /etc/bashrc, /etc/profile.d, or your account’s shell initialization files.
What special permissions provides additional access-related features to files?
suid, sgid, and sticky.