Page 2 of 2

Re: Shared folder permissions

Posted: 29. Apr 2009, 05:15
by WilPro
Thanks Perryg

I built another machine for Ubuntu 8.1 and started with the sharing from scratch and it worked! I feel much better about it now.

Maybe it was something with Kubuntu? It is the latest version which may have caused a problem. I will start again from scratch with Kubuntu.

Re: Shared folder permissions

Posted: 1. Apr 2010, 16:11
by platz
Perryg wrote:Then put the following in your fstab. and change the uid and gid to match yours.

Shared /mnt/Shared vboxsf defaults,rw,uid=1000,gid=1000 0 0
Sorry for the confusion, I'm just working through this now without any success. Should I also change /mnt/Shared to the path I'm using (which is just /mnt/share)?

Re: Shared folder permissions

Posted: 1. Apr 2010, 16:19
by Perryg
@platz,
The instructions given were for user=WilPro
The Shared and the /mnt/Shared need to match your install.
Replace Shared with the name you actually gave the share and the /mnt/Shared to the actual mount point you created.
Remember that spaces and special characters are not allowed in the share name.

Re: Shared folder permissions

Posted: 1. Apr 2010, 16:30
by platz
Thanks, that makes sense. I'm still mounting with the same permissions and not able to set them in the file browser, either.

Re: Shared folder permissions

Posted: 21. Mar 2011, 23:50
by JMAN1156
I have Windows 7 as host, and Ubuntu as guest. I'm having issues file sharing, I installed guest additions, DKMS(or something like that) and set it up through the virtualbox program. I can find the file under /media/sf_blah but it says I don't have permissions. Am I missing a step? Every time I use code to mount I have permissions error, protocol error, or something else.

(if this has already be covered, I has searched and searched and couldn't find it, so sorry)

Re: Shared folder permissions

Posted: 21. Mar 2011, 23:59
by Perryg
user name in the vboxsf group on the guest?

Re: Shared folder permissions

Posted: 22. Mar 2011, 01:30
by JMAN1156
the same as my host username... you're just talking about the username in Ubuntu right?

Re: Shared folder permissions

Posted: 22. Mar 2011, 01:33
by Perryg
the guests vboxsf group should have you guests login name in it.
type id in a terminal and see. If it isn't then you need to put it in.

Re: Shared folder permissions

Posted: 22. Mar 2011, 01:41
by JMAN1156
it gave me the same name as my login id, I also added that permission for folder sharing within windows, (I don't know if that matters, but I don't think it can hurt)

when I click on the folder it doesn't give me any login options, it just says "you do not have the permissions to view this folder". I have tried this through the terminanal using sudo, and it didn't work either.

Re: Shared folder permissions

Posted: 22. Mar 2011, 01:43
by Perryg
1) what are you actually sharing
2) are we talking about the VBox shared folder or a network share.

Re: Shared folder permissions

Posted: 22. Mar 2011, 02:01
by JMAN1156
I am sharing a downloads folder on my Windows 7 machine to the ubuntu virutal machine, so a vbox shared folder

Re: Shared folder permissions

Posted: 22. Mar 2011, 02:09
by Perryg
Read Chapter 4.3 Shared folders in your VirtualBox users manual very carefully.
Also Windows 7 uses symlinks to the folders in your user space. You must make sure that you are sharing a real folder or you will have problems.
I usually create a separate folder (outside the user space and make it public) just for this purpose as Windows 7 is really finicky about sharing with anything not Windows.

Re: Shared folder permissions

Posted: 25. Mar 2011, 15:32
by JMAN1156
got it to work by manually mounting, I don't know why auto mounting isn't working... anyway the problem was I kept referring the sharename as sf_xxxxx, instead of just xxx