XK0-005 · Question #5
XK0-005 Question #5: Real Exam Question with Answer & Explanation
The correct answer is C: chmod 750 <application name>. To set specific file permissions for the owner, group, and others using octal notation, the chmod command is utilized.
Question
A Linux systems administrator needs to set permissions on an application with the following parameters: - The owner of the application should be able to read, write, and execute the application. - Members of the group should be able to read and execute the application. - Everyone else should not have access to the application. Which of the following commands would BEST accomplish these tasks?
Options
- Achmod 710 <application name>
- Bchmod 730 <application name>
- Cchmod 750 <application name>
- Dchmod 760 <application name>
Explanation
To set specific file permissions for the owner, group, and others using octal notation, the chmod command is utilized.
Common mistakes.
- A. The command
chmod 710would grant the group only execute permissions (1), which is incorrect as they need read and execute. - B. The command
chmod 730would grant the group write and execute permissions (3), which is incorrect as they only need read and execute. - D. The command
chmod 760would grant the group read and write permissions (6), which is incorrect as they should only have read and execute access.
Concept tested. Linux file permissions (chmod octal)
Reference. https://man7.org/linux/man-pages/man1/chmod.1.html
Topics
Community Discussion
No community discussion yet for this question.