exam questions

Exam SY0-501 All Questions

View all questions & answers for the SY0-501 exam

Exam SY0-501 topic 1 question 400 discussion

Actual exam question from CompTIA's SY0-501
Question #: 400
Topic #: 1
[All SY0-501 Questions]

A member of the admins group reports being unable to modify the "changes" file on a server.
The permissions on the file are as follows:

Permissions User Group File -
-rwxrw-r--+ Admins Admins changes
Based on the output above, which of the following BEST explains why the user is unable to modify the "changes" file?

  • A. The SELinux mode on the server is set to "enforcing."
  • B. The SELinux mode on the server is set to "permissive."
  • C. An FACL has been added to the permissions for the file.
  • D. The admins group does not have adequate permissions to access the file.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
Ales
Highly Voted 5 years, 6 months ago
Per CompTia Mock test: The file permissions according to the file system access control list (FACL) are rw-rw-r–. The first ‘rw-‘ are the file owner permissions (read and write). The second ‘rw-‘ are the group permissions (read and write) for the group that has been assigned the file. The third ‘r–‘ is the All Users permissions; in this case read only. To enable Ann to access the file, we should add Ann to the group that has been assigned to the file.
upvoted 10 times
MelvinJohn
5 years, 3 months ago
Ann is not mentioned in the question, plus the permissions listed are -rwxrw-r--+. So these permissions are -rw for owner, xrw for group, and -r- for All Users. But FACL is correct (C).
upvoted 2 times
...
CSSJ
4 years, 7 months ago
your correct C but Ann is not mentioned in the Question. You can rest for now your hallucinating. Haha
upvoted 6 times
...
...
Milletoo
Most Recent 3 years, 10 months ago
The answer is C, because of the Plus sign at the end of the command. What is the plus (+) sign in permission in Linux ? So do you see a plus sign in the permission section in any of your directory. No need to get confused, well it just means that the directory has extra acl permission. We use acl to give individual permission for users or groups on any directory.
upvoted 2 times
...
Miltduhilt
4 years, 3 months ago
Answer: C Reference: https://www.thegeekdiary.com/unix-linux-access-control-lists-acls-basics/
upvoted 1 times
...
Joker20
4 years, 3 months ago
https://gcgapremium.com/chapter-2/
upvoted 1 times
...
MichaelLangdon
4 years, 5 months ago
its A. read Gibson extra practice questions
upvoted 1 times
...
vaxakaw829
4 years, 9 months ago
C. An FACL has been added to the permissions for the file. is correct. Changing SELinux modes has a different notation. Changing SELinux States and Modes >>> https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/using_selinux/changing-selinux-states-and-modes_using-selinux
upvoted 2 times
vaxakaw829
4 years, 9 months ago
… How to Check If a File Has an ACL Check if a file has an ACL by using the ls command. $ ls -l filename filename specifies the file or directory. In the output, a plus sign (+) to the right of the mode field indicates that the file has an ACL. Note – Unless you have added ACL entries for additional users or groups on a file, a file is considered to be a “trivial” ACL and the plus sign (+) will not display. Example—Checking If a File Has an ACL The following example shows that the ch1.doc file has an ACL, because the listing has a plus sign (+) to the right of the mode field. $ ls -l ch1.doc -rwxr-----+ 1 nathan sysadmin 167 Nov 11 11:13 ch1.doc … (https://docs.oracle.com/cd/E19683-01/806-4078/6jd6cjs3d/index.html)
upvoted 2 times
...
...
Kudojikuto
4 years, 10 months ago
ASNWER IS A. Security-enhanced Linux (SELinux) is one of the few operating systems using the mandatory access control model. If SELinux is in enforcing mode, this can cause restrictions to some files, even if the user trying to access those files has the permissions to do so (-rwx)
upvoted 1 times
...
MelvinJohn
5 years, 3 months ago
Correct answer A: The File Access Control List (FACL) permissions listed are -rwxrw-r--+. So these permissions are -rw for owner, xrw for group, and -r- for All Users. O permissions are not preventing modify for admins. A FACL is assigned as designated by the + sign at the end of the permissions. SELinux (Security Enforced Linux) Permissive versus enforcing. An SELinux-hardened system will run with SELinux in enforcing mode, meaning that the SELinux policy is in effect and things that it doesn't want to allow won't be allowed, such as admins modifying the "changes" file.
upvoted 2 times
...
Asmin
5 years, 8 months ago
Can anyone explain me please!
upvoted 4 times
Jenkins3mol
5 years, 7 months ago
search for FACL on linux. the answer is correct.
upvoted 4 times
...
BillyKidd
4 years, 6 months ago
Look for the "+" (without quotes) in the permissions line. That plus sign is the FACL which blocks permission changes to it.
upvoted 5 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 ...