I cannot do anything in ubuntu without being root all of a sudden. When I run emacs it says it cannot access files (and will run in sudo and works fine). firefox throws security issues until im root etc. and have no idea how to fix this.
I dropped down into su and purged sudo and reinstalled thinking this would fix it (bc at one point i edited my sudoers file with emacs vs visudo) but to no avail. any ideas? this is a very annoying experience
edit: for more information. prior to this I was trying to run Virtualbox as sudo (the gui version) and was having issues with it saying it could not access a given machine. So i wanted to ensure ALL my commands were ran as root so i added myself into sudoers file (username (ALL) = (All) etc. syntax) and everything was ok for some time. then these issues came about with firefox and emacs etc. so I am guessing somehow I have unknowingly removed myself from groups that did have access to these files in the past
edit no.2: for the specific error when emacs start it says "cannot open load file :/home/path.../.emacs.d/elpa/asynch-20151104.2113/async-pkg ... now this ONLY happens when I do not run as sudo from terminal. could it be I messed with the pkg permission? The firefox error was similar to this (Error code: sec_error_bad_signature) however I cannot replicate the issue after deleting my ~/.modzilla folder. any ideas?
root
, and changed some ownership.sudo find $HOME \! -user $USER -ls
will detect themWhen I run emacs it says it cannot access files
- which files?I cannot do anything in ubuntu without it being root
- what are some more examples of things you cannot do, and what are the error messages you are getting?