New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA Exam XK0-005 Topic 3 Question 47 Discussion

Actual exam question for CompTIA's XK0-005 exam
Question #: 47
Topic #: 3
[All XK0-005 Questions]

An organization's business office needs to collaborate on quarterly reports and asks the systems administrator to create a finance group. The administrator creates the following directory: drwxrwxr-x Business Business |j096 Oct 15 16:40 Q1

Which of the following commands will allow all members of the finance group to have group ownership of all files created in the Q1 directory while ensuring that members of the business group preserve access? (Select two).

Show Suggested Answer Hide Answer
Suggested Answer: A, D

To ensure all files created in Q1 inherit the group ownership of finance, the chmod g+s command sets the group ID (SGID) on the directory, ensuring new files belong to the group of the directory. chown Finance Q1/ changes the group ownership of Q1 to Finance, allowing Finance group members access. These settings facilitate collaborative permissions as per CompTIA Linux+ recommendations for group-based file sharing. Reference: CompTIA Linux+ Study Guide.


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel