CompTIA Linux+ Powered by LPI (LX0-103) — Question 43

What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?

Answer options

Correct answer: C

Explanation

The correct answer is C because the owner lacks the execute permission, which means the SetUID bit has no effect. Option A is incorrect as the SetUID cannot be applied without the execute permission for the owner. Option B is incorrect because the command will not execute with group rights without the owner's execute permission. Option D is also wrong for the same reason that without the owner's execute permission, the command cannot run with effective rights from either the owner or the group.