Security Questions
Closed this issue · 1 comments
wenfangdu commented
-
What does
+a
insudo chmod +a 'user:jason:allow write' /etc/hosts
do exactly? Can't seem to find any reference on this. -
How to reset the hosts permission which was set by
sudo chmod +a 'user:jason:allow write' /etc/hosts
?
wenfangdu commented
+a mode Insert a new ACL (Access Control List) entry
- Run:
sudo /bin/chmod -a 'user:jason:allow write' /etc/hosts
sudo /bin/chmod +a 'user:jason:deny write' /etc/hosts