nerdexam
Exams220-1002Questions#738
CompTIA

220-1002 · Question #738

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

The correct answer is A: chown. chown (change owner) is a Linux/Unix command used to change the ownership of files and directories, which directly affects who has access to them. Since file permissions in Linux are tied to ownership (user and group), using chown can resolve access issues. The other options don'

Question

A user is unable to access certain files from 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

chown (change owner) is a Linux/Unix command used to change the ownership of files and directories, which directly affects who has access to them. Since file permissions in Linux are tied to ownership (user and group), using chown can resolve access issues. The other options don't apply: ls lists directory contents, grep searches text within files, and cp copies files. Note that chmod (change mode) is the command specifically for modifying read/write/execute permission bits, but since it is not listed as an option, chown is the best available answer for addressing file access issues.

Community Discussion

No community discussion yet for this question.

Full 220-1002 Practice