CompTIA Linux+ Exam XK0-005 Question # 140 Topic 15 Discussion

CompTIA Linux+ Exam XK0-005 Question # 140 Topic 15 Discussion

XK0-005 Exam Topic 15 Question 140 Discussion:
Question #: 140
Topic #: 15

User1 is a member of the accounting group. Members of this group need to be able to execute but not make changes to a script maintained by User2. The script should not be accessible to other users or groups. Which of the following will give proper access to the script?


A.

chown user2:accounting script.shchmod 750 script.sh


B.

chown user1:accounting script.shchmod 777 script.sh


C.

chown accounting:user1 script.shchmod 057 script.sh


D.

chown user2:accounting script.shchmod u+x script.sh


Get Premium XK0-005 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.