2
votes
0answers
18 views

Revert system fie premissions

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? ...
0
votes
1answer
1k views

Changing the permissions in root files without sudo from recovery

Hi I recently killed my etc folder by running: sudo chmod etc 417. Due to sudo being in that folder it cannot be accesed now, so I have to change the permissions back to the correct ones using the ...
3
votes
2answers
3k views

What are the standard file permissions for the /etc directory(file)

I kinda screwed up the /etc directory by running: sudo chmod 417 /etc Leaving me unable to use sudo: sudo: can't open /etc/sudoers: permission denied. sudo: no valid sudoers sources foundm ...