SK0-005 · Question #327
SK0-005 Question #327: Real Exam Question with Answer & Explanation
The correct answer is C: chmod g+w filename. The chmod command is used to change the permissions of files and directories. The g+w option means to grant write permission to the group owner of the file. Since Joe is a member of the IT group, which is also the group owner of the file, this command will allow him to save chang
Question
Joe, a user in the IT department, cannot save changes to a sensitive file on a Linux server. An is - la shows the following listing: -rw-r--r 1 Ann IT 6780 12 June 2019 filename Which of the following commands would BEST enable the server technician to allow Joe to have access without granting excessive access to others?
Options
- Achmod 777 filename
- Bchown Joe filename
- Cchmod g+w filename
- Dchgrp IT filename
Explanation
The chmod command is used to change the permissions of files and directories. The g+w option means to grant write permission to the group owner of the file. Since Joe is a member of the IT group, which is also the group owner of the file, this command will allow him to save changes to the file without affecting the permissions of other users.
Topics
Community Discussion
No community discussion yet for this question.