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

- Free Preparation Discussions

CompTIA XK0-005 Exam - Topic 5 Question 5 Discussion

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

A Linux engineer receives reports that files created within a certain group are being modified by users who are not group members. The engineer wants to reconfigure the server so that only file owners and group members can modify new files by default. Which of the following commands would accomplish this task?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Daniela
4 months ago
chown -cf doesn't even relate to file permissions!
upvoted 0 times
...
Janessa
4 months ago
chmod 775 just gives too much access to others.
upvoted 0 times
...
Amie
4 months ago
Wait, can you really restrict access like that?
upvoted 0 times
...
Shizue
4 months ago
Definitely agree, umask sets default permissions!
upvoted 0 times
...
Izetta
4 months ago
I think umask 002 is the right choice here.
upvoted 0 times
...
Isaac
5 months ago
I don't recall chown being relevant for this scenario; it seems more about ownership than permissions.
upvoted 0 times
...
Ressie
5 months ago
I practiced a similar question where umask was involved, and I think umask 002 is what allows group members to modify files.
upvoted 0 times
...
Janey
5 months ago
I think chmod 775 would set the right permissions, but it might not apply to new files by default.
upvoted 0 times
...
Linette
5 months ago
I remember something about umask settings affecting file permissions, but I'm not entirely sure if umask 002 is the right command here.
upvoted 0 times
...
Jennie
5 months ago
Wait, I'm a bit confused. Is it really that simple? I feel like there might be another way to add an element to the end of an array that I'm forgetting. Let me double-check my notes to make sure I'm not missing something.
upvoted 0 times
...
Emmanuel
5 months ago
I remember something about load balancing and next-hop addresses, but I'm unsure how to apply it here.
upvoted 0 times
...

Save Cancel