Question
I'm trying to compile something in OpenSuse however I get a Permission Denied. I've tried with "sudo make" and even logged in with superuser but the same error persists.
How can I fix this? Thanks.
Solution
Are you seeing this error running anything with sudo
, or just when running sudo make
? If you are only seeing this problem when running make
, does is happen on any makefile, or just this particular one?
Is your user account listed in the sudoers
file properly?
OTHER TIPS
Did you add yourself to sudoers list? Type whereis sudoers to find out the file and edit it to see if you're in.
It could be that your company has PowerBroker installed and is blocking those commands.
If you cannot run sudo make
, then copy make
to the path in question and try with the new name:
sudo cp /usr/bin/make ./fake
sudo ./fake