Is it possible to restrict access to a specific user when file or directory permission is 777?
Issue
- If there's a file with permission 777, then the unprivileged user will be able to modify it. We want to avoid that.
- How to restrict access to a specific user or group when file or directory permission is 777?
- How to remove a user's permission from a directory that has full access to 'other'?
Environment
- Red Hat Enterprise Linux (RHEL)
- 6
- 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.