0

This question already has an answer here:

while changing the permissions for the /usr folder of owner to root read and write of group to root read and write of other to read and write i ignoratly checked to box to propagate to all contained directories/files

now I cannot run sudo or gksu, how can i fix this? the error message when trying to run sudo on a command is:

sudo: error in /etc/sudo.conf, line 0 while loading plugin `sudoers_policy' sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner sudo: fatal error, unable to load plugins

help!

marked as duplicate by Eliah Kagan, Eric Carvalho, user.dz, TheWanderer, waltinator Jan 4 '17 at 3:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Backup your home directory if you have anything important, and reinstall. – eyoung100 Jun 5 '15 at 23:01
  • You can preserve your data in /home with a reinstall, have been able to do so for years. " Since Hardy it is possible to reinstall Ubuntu without losing the content of the /home folder (the folder that contains program settings, internet bookmarks, emails and all your documents, music, videos and other user files). This can be done even if /home is not on a separate partition " help.ubuntu.com/community/UbuntuReinstallation – Panther Jun 6 '15 at 3:12
-1

Boot a Live CD/USB or any other linux distro and change the permission back to what they should be.

See, no need to reinstall.

  • I have tried using ubuntu 14.04 live cd and of course it will not work becuase the drive will not be shown in a form that will allow the usr folder to be seeen, instead you can only see what appears to be the boot directory contents – user1305268 Jun 10 '15 at 19:08
  • i tried this, the drive does not show up – user1305268 Jun 10 '15 at 19:09
  • I finally used ubuntu mate 15.04 desktop amd64 and was able to both see the drive and change the permissions using caja. – user1305268 Jun 11 '15 at 1:36

Not the answer you're looking for? Browse other questions tagged or ask your own question.