5

I just installed VMware Workstation 8.0.3 on ubuntu 12.04. Everytime it starts up it says that vmware needs ~/.vmware to save preferences and that it is unable to create ~/.vmware.

But ~/.vmware is already a directory. How do I get this resolved?

2
  • 2
    This might be a permissions problem, caused by having run VMware as root (but there are other possible causes too). Please edit your question to add the output of these three commands (run them in the Terminal, which you can open by pressing Ctrl+Alt+T): [1] ls -ldh ~/.vmware [2] ls -lRh ~/.vmware [3] df -h Please also add the complete and exact text of the error messages, as well as the the text you get in the Terminal when you try to start vmware there (when it's not already running). Jun 5, 2012 at 3:26
  • This helped on Ubuntu 14.04 64bit and Workstation 10.02: sudo chown -R username:username ~/.vmware Thanks for helping this out ldgriffin and daviderault Regards
    – pecuna
    May 11, 2014 at 7:07

3 Answers 3

12

You should never run as root unless you are explicitly trying to modify your system. VMWare Workstation does not need root access to simply run a guest machine. Likely your permission were changed to root owning your ~/.vmware folder during install. You just need to change the ownership back to your user.

sudo chown -R $USER:$USER ~/.vmware

This will set the owner back to you and your group.

1

I had the same problem with VMWare Player 6.0 in Ubuntu 13.10

I solved it by using:

chown -R $USER:$USER ~/.vmware
-1

Try running as root, it always helps get things done.

2
  • Running as root will not help an issue of writing to one's home folder. Read the error carefully, please.
    – nanofarad
    Aug 16, 2012 at 19:05
  • It might, since the problem is that part of the user's home folder has come to be owned by root. It's still a bad idea though--instead, ownership should be retaken on the affected files. Aug 17, 2012 at 1:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .