nerdexam
LPI

117-101 · Question #230

Which chown command will change the ownership to dave and the group to staff on a file named data.txt?

The correct answer is D. chown dave:staff data.txt. See the full explanation below for the reasoning.

Question

Which chown command will change the ownership to dave and the group to staff on a file named data.txt?

Options

  • Achown dave/staff data.txt
  • Bchown -u dave -g staff data.txt
  • Cchown -user dave -group staff data.txt
  • Dchown dave:staff data.txt

How the community answered

(17 responses)
  • A
    6% (1)
  • B
    12% (2)
  • C
    6% (1)
  • D
    76% (13)

Community Discussion

7
Prof. SaraProf. SaraJun 27, 2026

D is the right answer. The chown command uses the colon syntax "chown owner:group file" to set both owner and group in a single operation, so "chown dave:staff data.txt" is the standard POSIX form you will see on every Linux distro and on the exam. Options A, B, and C use slash notation or flags that chown does not support.

29
Thiago A.Thiago A.Jun 27, 2026

Worth adding that GNU chown on Linux actually does accept dot notation too, so "chown dave.staff data.txt" still runs without error, which is legacy compatibility from early Unix, but the colon form is what LPIC-1 expects and what you should write on the exam.

0
Thiago A.Thiago A.Jun 27, 2026

D is right. The colon syntax, chown owner:group file, is the POSIX-standard form covered in man 1 chown under "OWNER[:GROUP]", and the slash form in option A is a legacy shorthand that some implementations accept but is not the syntax you want to commit to memory for the exam.

5
Devraj B.Devraj B.Jun 27, 2026

Saw this exact wording on my 101, picked D without blinking, colon separates owner from group, always.

4
Bao N.Bao N.Jun 28, 2026

Colon is right for the separator, but if you also blanked on the order when permissions and ownership flags pile up in the same command, that is where people drop points.

0
Dervla O.Dervla O.Jun 27, 2026

Does the colon separator also let you change just the group, like chown :staff data.txt?

4
Bao N.Bao N.Jun 26, 2026

Saw D on my actual exam, the colon syntax trips up everyone who guesses A.

2
Full 117-101 Practice