Which of the following partition mount options would prevent setting the SUID and SGID permissions on files?
A. nosgid
B. noexec
C. nosuid
D. 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?
A. 775
B. 554
C. 660
D. 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?
A. sudo chown maggie somefile.txt
B. sudo chown :maggie somefile.txt
C. sudo chown maggie: somefile.txt
D. sudo chown :maggie: somefile.txt
Which of the following is the numerical value for the SGID permission?
A. 6000
B. 2000
C. 4000
D. 1000
Which command would you use to view the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.