A user cannot open a configuration file even though ownership and mode bits appear correct. To determine if the denial is due to a security policy, what should you do first?
Add an entry for the user in an access control list for the file
Grant read permission to others on the file
Change the enforcement mode to permissive and retry opening the file
Switching the enforcement mode to permissive allows the system to log policy violations without denying access. If the user can then open the file, the issue is policy-related. The other methods adjust standard permissions or access controls and won’t isolate policy enforcement.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does 'permissive mode' mean in security policies?
Open an interactive chat with Bash
What are the mode bits, and how do they affect file access?
Open an interactive chat with Bash
What is an access control list (ACL) and how does it work?