XK0-005 · Question #603
XK0-005 Question #603: Real Exam Question with Answer & Explanation
The correct answer is C: chmod 664 config. To give the support group access to modify the config file while preserving the current ownership, the administrator can execute the command chmod 664 config ©. This will change the permissions of the config file to read and write for the owner and group, and read only for others
Question
The group named support is unable to make changes to the config file. An administrator is reviewing the permissions and sees the following: $ ls -l config -rw-rw----. 1 root app 4682 02-15 11:25 config Which of the following should the administrator execute in order to give the support group access to modify the file while preserving the current ownership?
Options
- Achown :support config
- Bsetfacl -m g:support:rw- config
- Cchmod 664 config
- Dchmod g+s config
Explanation
To give the support group access to modify the config file while preserving the current ownership, the administrator can execute the command chmod 664 config ©. This will change the permissions of the config file to read and write for the owner and group, and read only for others. The owner and group of the file will remain as root and app respectively.
Topics
Community Discussion
No community discussion yet for this question.