LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   permission denied when root? (https://www.linuxquestions.org/questions/linux-software-2/permission-denied-when-root-277002/)

TaNeK 01-12-2005 02:39 PM

permission denied when root?
 
Hello!

When I tried to install VMware, something probably went a bit wrong, now I cannot install it (cause there is a version already installed) and when I try to configure or uninstall it (AS ROOT!) I get Permission Denied.

Thought root couldn't be denied :S

sludink 01-12-2005 02:58 PM

Maybe you got no write permission to some files? rm will normally ask if you'd like to overrun it; like:
rm: remove write-protected regular empty file `a'?

In this case you should use rm -f instead of just rm.

david_ross 01-12-2005 02:58 PM

Also, i it is an executable file then make sure it has the execute bit set

TaNeK 01-12-2005 03:10 PM

It should have execute set, and I definitly wouldn't want to remove it, would I? It seems to be the one way to reinstall VMware, which I need qute desperatly :)

Argh, permission bug, had to remove executeive and then add it, an it worked :) sorry to bother!

TaNeK 01-12-2005 03:31 PM

So, now I've got a new problem!

I reinstalled it, and this time it seemed to be installed correctly, but I still don't have permission to (even as root) run the vmware-config.pl.

Code:

sh: line 1: /etc/init.d/vmware: Permission denied
Unable to stop services for VMware Workstation


david_ross 01-13-2005 12:54 PM

Can you post the output from:
ls -l /etc/init.d/vmware

homestead1000 01-13-2005 03:03 PM

Quote:

Originally posted by TaNeK
Code:

sh: line 1: /etc/init.d/vmware: Permission denied
Unable to stop services for VMware Workstation


I've got a couple GSX 2 and 3 servers running and found them problemless.

Perhaps the quote above is from vmware still running from your last install? Try killing the pid and try again.

Shadowfax 02-01-2005 06:18 AM

Same thing
 
I have the same issue. I can install, but as for running vmware-config.pl.... :mad:


Quote:

root@slack:/usr/bin# perl vmware-config.pl
Making sure services for VMware Workstation are stopped.

sh: line 1: /etc/init.d/vmware: Permission denied
Unable to stop services for VMware Workstation

Execution aborted.
The rights on the stuff:

Quote:

root@slack:/usr/bin# ls -l /etc/init.d/vmware
-rw-r--r-- 1 root root 28816 2005-01-31 23:59 /etc/init.d/vmware
Clean install of Slackware 10, absolutely nothing has been messed with at all. I created the user 'vmware' and group 'vmware' for running purposes, but so far everything has been run as root. I require this to work if I am to run Windows emulated, since the bulk of programs I need wont run with wine :(

BTW, I am following this guide: http://www.cs.ucr.edu/~jbyrne/vmware.htm

david_ross 02-01-2005 12:39 PM

Just make it excutable:
chmod 755 /etc/init.d/vmware


All times are GMT -5. The time now is 10:12 AM.