sudo chmod -R 777 /It’s safe because it’s sudo! Like sudo rm -rf /*
sudo = shut up dammit, obey!
why tho?
If it’s a file I have to modify once why would I run:
sudo chmod 774 file.conf
sudo chown myuser:myuser file.conf
vi file.conf
sudo chown root:root file.conf
sudo chmod 644 file.conf
instead of:
sudo vi file.conf

Had an idiot “fix” a permission problem by running “sudo chmod -R 777 /”
And that is why sudo privileges were removed for the vast majority of people.
Oh… That sounds like a nightmare. How do you even fix that? There’s no “revert the entire filesystem’s permissions to default” button that I’m aware of
You restore the system from backup
Sorry, user babe is not in the sudoers file. This incident will be reported
as a GUI pleb i just doubleclick the file, which opens kate.
i edit the file and click save, get asked for my password
and all is fine.
that’s way too simple, the linux gods demand more esoteric suffering





