Page 1 of 1

Ubutu Guest & Windows Shared Folders

Posted: 28. Jan 2011, 19:41
by cheetah05
I followed the howto and mounted using the following:

Code: Select all

sudo mount -t vboxsf -o uid=1000,gid=1000 share ~/host
I checked and made sure the uid and gid were correct but I am still unable to write to the mounted folder.

How do I fix this?

Re: Ubutu Guest & Windows Shared Folders

Posted: 28. Jan 2011, 20:03
by Perryg
Try adding the rw switch as indicated below:

Code: Select all

sudo mount -t vboxsf -o rw,uid=1000,gid=1000 share ~/host

Re: Ubutu Guest & Windows Shared Folders

Posted: 28. Jan 2011, 20:04
by cheetah05
Thanks for a reply. I tried that and it didn't work either.

Re: Ubutu Guest & Windows Shared Folders

Posted: 28. Jan 2011, 20:07
by Perryg
What "exactly" are you trying to share?

Re: Ubutu Guest & Windows Shared Folders

Posted: 28. Jan 2011, 20:27
by cheetah05
A folder on windows (in my documents) with Ubuntu so Ubuntu can read and write from it.

Re: Ubutu Guest & Windows Shared Folders

Posted: 28. Jan 2011, 20:53
by Perryg
Folders inside of your (my documents) are usually protected and the top level folders usually show this permission problem.
Try to see if you can actually write to a sub folder and see if that work. Also try to setup a folder in a general access location (Windows calls that public) and see if that works. I can pretty much assure that it is Windows 7 permission problem.

Re: Ubutu Guest & Windows Shared Folders

Posted: 28. Jan 2011, 21:20
by cheetah05
Tried sharing a folder that was in the Public directory on windows and it didn't work.

Re: Ubutu Guest & Windows Shared Folders

Posted: 28. Jan 2011, 21:30
by Perryg
When you created the share did you make sure to *not* mark it as read only?
What version of VirtualBox are you using?

Re: Ubutu Guest & Windows Shared Folders

Posted: 28. Jan 2011, 21:57
by cheetah05
Perryg wrote:When you created the share did you make sure to *not* mark it as read only?
What version of VirtualBox are you using?
I am sure I DIDN'T mark it as read only. Latest version of VirtualBox

Re: Ubutu Guest & Windows Shared Folders

Posted: 28. Jan 2011, 22:01
by Perryg
OK try putting you user name in the vboxsf group (on the guest)(make sure that guest additions are installed on the guest) and set the share to auto mount and see if you can get it to work that way.
The auto mount will put it in /media/sf_<your share name>

Re: Ubutu Guest & Windows Shared Folders

Posted: 31. Jan 2011, 13:37
by cheetah05
Perryg wrote:OK try putting you user name in the vboxsf group (on the guest)(make sure that guest additions are installed on the guest) and set the share to auto mount and see if you can get it to work that way.
The auto mount will put it in /media/sf_<your share name>
This worked for me. Thank you VERY much for your help. It is much appreciated.