nerdexam
CompTIA

XK0-001 · Question #156

How would an administrator change the ownership of the directory /tmp/data/user1 from the account 'user1' to the account 'user2'?

The correct answer is C. chown -R user2 /tmp/data/user1. See the full explanation below for the reasoning.

Question

How would an administrator change the ownership of the directory /tmp/data/user1 from the account 'user1' to the account 'user2'?

Options

  • Achown /tmp/data/user2 user1
  • Bchown -R /tmp/data/user1 user2
  • Cchown -R user2 /tmp/data/user1
  • Dchown user2 /tmp/data/user1 user2

How the community answered

(35 responses)
  • A
    14% (5)
  • B
    9% (3)
  • C
    74% (26)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full XK0-001 Practice