nerdexam
Exams220-1002Questions#702
CompTIA

220-1002 · Question #702

220-1002 Question #702: Real Exam Question with Answer & Explanation

The correct answer is A: chown. Among the listed options, chown (change owner) is the Linux/Unix command most directly related to file access control - it changes the ownership (user and/or group) of a file, which directly affects who holds access rights. Note that chmod is the more precise command for modifyin

Question

A user is unable to access certain files fram a specific folder. Which of the following commands should a technician use to modify the file permissions for a specific file?

Options

  • Achown
  • Bls
  • Cgrep
  • Dcp

Explanation

Among the listed options, chown (change owner) is the Linux/Unix command most directly related to file access control - it changes the ownership (user and/or group) of a file, which directly affects who holds access rights. Note that chmod is the more precise command for modifying read/write/execute permission bits, but it is not among the choices. The remaining options - ls (list directory contents), grep (search text patterns), and cp (copy files) - have no role in managing file permissions or ownership. On an exam where chmod is absent, chown is the best available answer.

Community Discussion

No community discussion yet for this question.

Full 220-1002 Practice