Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am new to Ubuntu and I'm trying to mount the VMWare Shared Folder in my Ubuntu guest machine running on a Windows 8.1 host.

  1. I created shared folder with VMWare (VM > settings > option > share folder)
  2. Then I created a shared folder name cshare and the host path is C:\
  3. Then I open the terminal in Ubuntu 12.04
  4. Type mkdir /media/wshare
  5. then I type mount -t vmhgfs .host:/cshare /media/wshare
  6. Then I add this code to /etc/fstab for auto mount .host:/cshare /media/wshare vmhgfs defaults 0 0

Everything is working fine but when I execute the commands I am getting this message:

You must have r/w access to the filesystem or be root

I also tried putting the following into /etc/fstab:

.host:/cshare /media/wshare cifs defaults,rw,user,auto,exec,utf8,ttl=5,uid=1000,gid=1000 0 0
.host:/cshare /media/wshare vmhgfs defaults,rw,user,auto,exec,utf8,ttl=5,uid=1000,gid=1000 0 0

Any idea how to mount a VMWare shared folder in Ubuntu?

share|improve this question
    
are you actually running the mount command as root (or with sudo)? –  kalina Nov 29 '13 at 20:19
    
yes i did as sudo su –  praneeth Dec 4 '13 at 15:46
    
i got the solution , thanx kalina :) /etc/fstab chown -c Developer:users /mnt/wshare chmod -c +s /sbin/mount.vmhgfs –  praneeth Dec 4 '13 at 15:48
    
You should add all of the steps you followed to fix the problem you experienced as an answer –  kalina Dec 4 '13 at 17:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.