Questions
- Which of the following partition mount options would prevent setting the SUID and SGID permissions on files?
nosgid
noexec
nosuid
nouser
- Which of the following represents a file with read and write permissions for the user and the group, and read-only permissions for others?
- 775
- 554
- 660
- 664
- You want to change the ownership and group association of the
somefile.txt
file to Maggie. Which of the following commands would do that?sudo chown maggie somefile.txt
sudo chown :maggie somefile.txt
sudo chown maggie: somefile.txt
sudo chown :maggie: somefile.txt
- Which of the following is the numerical value for the SGID permission?
- 6000
- 2000
- 4000
- 1000
- Which command would you use to view the extended attributes of a file?
-
...