ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 217 - SK0-005 discussion

Report
Export

Joe. a user m the IT department cannot save changes to a sensitive file on a Linux server. An 1s -1& snows the following listing;

Which of the following commands would BEST enable the server technician to allow Joe to have access without granting excessive access to others?

A.
chmod 777 filename
Answers
A.
chmod 777 filename
B.
chown Joe filename
Answers
B.
chown Joe filename
C.
Chmod g+w filename
Answers
C.
Chmod g+w filename
D.
chgrp IT filename
Answers
D.
chgrp IT filename
Suggested answer: C

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. Verified

Reference: [Linux chmod command]

asked 02/10/2024
Dewi Fitriyani
52 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first