PrepAway - Latest Free Exam Questions & Answers

Which three statements about the permfile permissions are true?

Given:
# chmod 2666 permfile
Which three statements about the permfile permissions are true? (Choose three)

PrepAway - Latest Free Exam Questions & Answers

A.
The sticky bit is set.

B.
The file has the setgid bit set.

C.
The file has the setuid bit set.

D.
The file is not executable by any user.

E.
The associated group has read and write permissions.

F.
The associated group had read, write, and execute permissions.

Explanation:

# chmod 2666 permfile gives permissions: -rw-rwlrw- This command sets the setgid, owner to rw, group to rw, misc rw permissions.
B: setgid bit is 2 – produces the ` l `
D: the file has Manditory locking set. The group permission was set to be 6, 4 or 2 and is NOT executable by the group owner.
E: The group owner does have read and write permissions.
Incorrect
Answers:
A: The sticky bit is set using chmod 01000, this produces:———T C: The setuid bit is set using chmod 4000 This produces: —S—— F: No execute permissions.


Leave a Reply