CompTIA Linux+ (XK0-005) — Question 250

A systems administrator created a new directory with specific permissions. Given the following output:

# file: comptia
# owner: root
* group: root
user::rwx
group::r-x
other::---
default:user::rwx
default:group::r-x
default:group:wheel:rwx
default:mask::rwx
default:other::---

Which of the following permissions are enforced on /comptia?

Answer options

Correct answer: A

Explanation

The correct answer is A because the output indicates that the 'wheel' group has rwx permissions due to the default settings. Option B is incorrect as there is no mention of the sticky bit being set. Option C is wrong since 'other' users have no permissions, preventing them from creating files. Option D is not accurate because the group 'root' also has some permissions and is not restricted to only root creating files.