ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 304 - XK0-005 discussion

Report
Export

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

arduino

$ ls -ld /comptia

drwxr-x--- 2 root root 4096 Oct 20 20:13 /comptia

$ getfacl /comptia

# 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?

A.

Members of the wheel group can read files in /comptia.

Answers
A.

Members of the wheel group can read files in /comptia.

B.

Newly created files in /comptia will have the sticky bit set.

Answers
B.

Newly created files in /comptia will have the sticky bit set.

C.

Other users can create files in /comptia.

Answers
C.

Other users can create files in /comptia.

D.

Only root can create files in /comptia.

Answers
D.

Only root can create files in /comptia.

Suggested answer: A

Explanation:

According to the getfacl output, the default ACL for the group wheel is set to rwx, meaning members of the wheel group have read, write, and execute permissions. Therefore, they can access and manage files in the /comptia directory. Other users (other::---) have no permissions on this directory.

asked 09/10/2024
Carlos Cabezas
49 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first