LPI
101-500 · Question #66
What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?
The correct answer is C. The execute flag is not set for the owner. Therefore the SetUID flag is ignored. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Devices, Linux Filesystems, Filesystem Hierarchy Standard
Question
What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?
Options
- AThe command is SetUID and it will be executed with the effective rights of the owner.
- BThe command will be executed with the effective rights of the group instead of the owner.
- CThe execute flag is not set for the owner. Therefore the SetUID flag is ignored.
- DThe command will be executed with the effective rights of the owner and group.
How the community answered
(50 responses)- A2% (1)
- B4% (2)
- C94% (47)
Explanation
You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Topics
#File Permissions#SetUID#Permission Bits#Execute Permissions
Community Discussion
No community discussion yet for this question.