I changed the permissions of my host file /etc/hosts by doing a chmod og+w.
What's the default permission so that I can switch it back?
sudo chmod og-w /etc/hosts
sudo chmod o-w whatever
The default file permissions for /etc/hosts is 644. (readable and writable for the owner, root, and readable for others.)
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
3 years ago