Big 11.11 Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

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

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

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

A Linux administrator is configuring a log collector agent to monitor logs in /var/log/collector. The agent is reporting that it cannot write to the directory. The agent runs as the logger user account. The administrator runs a few commands and reviews the following output:

Output 1:

drwxr-xr-x. 1 root root 0 Oct 20:13 collector

Output 2:

file: /var/log/collector

owner: root

group: root

user::rwx

group::r-x

mask::rwx

other::r-x

Output 3:

uid=1010(logger) gid=1010(monitor) groups=1010(monitor)

Which of the following is the best way to resolve the issue?


A.

setfacl -Rm u:logger/var/log/collector


B.

usermod -aG root logger


C.

chmod 644 /var/log/collector


D.

chown -R logger/var/log


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.