LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-12-2005, 02:39 PM   #1
TaNeK
Member
 
Registered: Dec 2004
Posts: 59

Rep: Reputation: 15
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
 
Old 01-12-2005, 02:58 PM   #2
sludink
Member
 
Registered: Jan 2005
Location: Brabant, the Netherlands
Distribution: Gentoo 2004.x (2.6.10 hardened)
Posts: 91

Rep: Reputation: 15
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.
 
Old 01-12-2005, 02:58 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
Also, i it is an executable file then make sure it has the execute bit set
 
Old 01-12-2005, 03:10 PM   #4
TaNeK
Member
 
Registered: Dec 2004
Posts: 59

Original Poster
Rep: Reputation: 15
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!

Last edited by TaNeK; 01-12-2005 at 03:21 PM.
 
Old 01-12-2005, 03:31 PM   #5
TaNeK
Member
 
Registered: Dec 2004
Posts: 59

Original Poster
Rep: Reputation: 15
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
 
Old 01-13-2005, 12:54 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
Can you post the output from:
ls -l /etc/init.d/vmware
 
Old 01-13-2005, 03:03 PM   #7
homestead1000
Member
 
Registered: Jul 2003
Location: San Diego, CA USA
Distribution: RH 7x,8x,9x, RHE 3, Fedora Core1
Posts: 38

Rep: Reputation: 15
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.
 
Old 02-01-2005, 06:18 AM   #8
Shadowfax
LQ Newbie
 
Registered: Feb 2005
Distribution: Slackware 10.1
Posts: 1

Rep: Reputation: 0
Same thing

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


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
 
Old 02-01-2005, 12:39 PM   #9
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
permission denied as root Foosed Slackware 6 06-06-2005 12:38 AM
Permission denied as root Cynric Linux - General 4 08-15-2004 11:47 AM
Even as root, Permission Denied RevX Linux - Software 7 04-24-2004 11:10 PM
Permission denied as Root! Thewyzewun Linux - Newbie 3 03-13-2004 11:51 AM
permission denied even as root awolff01 Linux - Software 8 02-28-2003 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration