2

I have mistakely changed the permission of the entire etc directory to 777.

Now I'm getting frequent errors like ... is world writable!

Is there a way to revert back to the default permission?

Thank you in advance!

Dipesh KC
  • 1,071
  • What is the exact command you typed? Please edit it into your question (check your history in bash if unsure). – Rinzwind Oct 19 '14 at 16:20
  • also see: http://askubuntu.com/questions/466145/wrong-permission-to-etc-folder and http://askubuntu.com/questions/50704/sudo-error-is-mode-0777-should-be-0440 – Rinzwind Oct 19 '14 at 16:22
  • couldn't find the exact history (am using ohmyzsh shell). I did sth like chmod 777 -R /etc – Dipesh KC Oct 19 '14 at 16:31
  • Just to point out the obvious: That's what backups are for. ;) – Joe Oct 23 '14 at 06:41

0 Answers0