XK0-004 · Question #130
XK0-004 Question #130: Real Exam Question with Answer & Explanation
The correct answer is D: chown production to change the ownership of the production_docs directory. The production group member is not allowed to modify the file because the owner of the directory is root and for group production is missing execute permission which is allowing to see inside directory and reach to file: -rw-r--r-- . Solution: change the directory owner from root
Question
Options
- Achmod g+w production to change the permissions of the days file
- Bchgrp root production_docs/days to change the group ownership of the production_docs/ file days
- Cchmod g+S production to set the GUID on the production_docs directory
- Dchown production to change the ownership of the production_docs directory
Explanation
The production group member is not allowed to modify the file because the owner of the directory is root and for group production is missing execute permission which is allowing to see inside directory and reach to file: -rw-r--r-- . Solution: change the directory owner from root to production or add execute permission to production group.
Community Discussion
No community discussion yet for this question.