exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 219 discussion

Actual exam question from CompTIA's XK0-005
Question #: 219
Topic #: 1
[All XK0-005 Questions]

The group named support is unable to make changes to the config file. An administrator is reviewing the permissions and sees the following:

$ ls -l config
-rw-rw----. 1 root app 4682 02-15 11:25 config

Which of the following should the administrator execute in order to give the support group access to modify the file while preserving the current ownership?

  • A. chown :support config
  • B. setfacl -m g:support:rw- config
  • C. chmod 664 config
  • D. chmod g+s config
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
BlackSkullz
8 months, 4 weeks ago
Selected Answer: B
Best option is B setfacl -m g:support:rw- config would grant the support group read/write privileges to the file without granting/removing privileges for others or changing the file ownership. (setfacl -m) Specifies that you want to modify the ACL of the file (g:) Specifies that you are adding an ACL for a group (support) Specifies that the group in question is the support group (:rw-) Specifies the permissions being granted to the group, which in this case, is read/write (config) Specifies the file that the ACL is being applied to
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago