LINUX+ XK0-006 V8 Security Runs in your browser · no setup Preview · not independently reviewed

Repair shared-directory permissions

Translate access requirements into ownership, modes, special permission bits, and an inherited access ACL.

Estimated11 min
DifficultyIntermediate
Points12
Scenario brief

The analytics team shares /srv/reports. Members of group analysts must create and edit files, new files should inherit the group, and users must not delete files owned by teammates.

Content record

Preview · not independently reviewed

Mapped to CompTIA XK0-006 objectives · Internal validation 2026-08-12 · Available as preview practice, but a named independent subject-matter expert has not yet verified the question and answer key.

Community review →
3.3Given a scenario, apply operating system hardening techniques on a Linux system.
Show review record and official sources

Method: Mapped to XK0-006 OS-hardening permissions; ownership, octal mode, setgid, sticky-bit, and default ACL behavior reviewed.

Current-profile check: 2026-08-12 · Next review due 2027-02-08

01

Inspect the evidence

Use only the information provided to complete the tasks.

Current state

code
$ ls -ld /srv/reports
drwxrwxrwx 4 root root 4096 Aug 12 09:10 /srv/reports

$ id maya
uid=1104(maya) gid=1104(maya) groups=1104(maya),1200(analysts)
02

Complete the response

Partial credit is available for matching, ordering, and multi-select tasks.

01
command

Enter the command that changes only the directory's group owner to analysts.

2 pts

Whitespace and capitalization are ignored when grading.

Need a hint?

Break the request into three parts: the action, the target, and the required constraint or verification.

Show another hint

Check the tool and subcommand first, then add only the flags, values, and paths the prompt requires.

02
command

Enter one chmod command using an OCTAL mode that grants owner/group rwx, no access to others, group inheritance, and restricted deletion.

4 pts

Whitespace and capitalization are ignored when grading.

Need a hint?

Break the request into three parts: the action, the target, and the required constraint or verification.

Show another hint

Check the tool and subcommand first, then add only the flags, values, and paths the prompt requires.

03
command

Enter one setfacl command that gives group analysts inherited rwX access on new entries. Applications that explicitly create mode 0600 remain outside this guarantee.

3 pts

Whitespace and capitalization are ignored when grading.

Need a hint?

Break the request into three parts: the action, the target, and the required constraint or verification.

Show another hint

Check the tool and subcommand first, then add only the flags, values, and paths the prompt requires.

04
matching

Match each permission feature to its effect on this directory.

3 pts
Need a hint?

Start with the row and choice that have the most distinctive purpose, then use that pair to narrow the rest.

Show another hint

For each remaining pair, explain the relationship in one sentence before selecting it.

Ready to check your work?Submit to finish this session and review your feedback. Extra practice is optional.
Persistent progress

Attempt history

Every submission is retained. Starting another attempt never replaces or unlocks the previous one.

No attempts yet

Your first submitted score and detailed answer review will appear here.

Community quality control

Question or answer look wrong?

Proposals and votes help staff prioritize review. They never change the scoring key automatically.

Full review queue
No community corrections yet

Be the first to flag unclear wording, an answer-key issue, or a source that needs another look.

Propose a correction