nerdexam
CompTIA

220-1002 · Question #702

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?

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…

Hardware and network troubleshooting

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

How the community answered

(28 responses)
  • A
    93% (26)
  • C
    4% (1)
  • D
    4% (1)

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.

Topics

#Linux commands#file permissions#chown#command line

Community Discussion

No community discussion yet for this question.

Full 220-1002 Practice