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…
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)- A93% (26)
- C4% (1)
- D4% (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
Community Discussion
No community discussion yet for this question.