Page 1 of 1
Shared Folders on Ubuntu guest
Posted: 28. Jun 2010, 20:54
by finalsayan
Hi,
I am running Ubuntu 10.04 and I successfully installed the virtual box guest additions
my problem is with the permission of shared folders
Code: Select all
motta@motta-laptop:/media$ id
uid=1000(motta) gid=1000(motta) gruppi=4(adm),20(dialout),24(cdrom),46(plugdev),105(lpadmin),118(admin),121(sambashare),1000(motta)
motta@motta-laptop:/media$ sudo mount -t vboxsf -o uid=1000,gid=1000,rw,exec Documents /media/VBox/
motta@motta-laptop:/media$ ls -l
totale 4
dr-xr-xr-x 1 motta motta 4096 2010-06-28 20:31 VBox
motta@motta-laptop:/media$
I have no access in write mode to the folder VBox, I have tried many solutions, even chmod of chown
help

Re: Shared Folders on Ubuntu guest
Posted: 28. Jun 2010, 21:04
by Perryg
Is the Documents folder the one in your home on Windows 7?
You will have problems as these are protected folders. Choose one that is not in a users home and share it. Then it will work.
Re: Shared Folders on Ubuntu guest
Posted: 28. Jun 2010, 22:11
by Sasquatch
Re: Shared Folders on Ubuntu guest
Posted: 28. Jun 2010, 22:27
by finalsayan
thank you, now it works simply moving away my folder on windows 7 to another position (not the windows 7 home)

Re: Shared Folders on Ubuntu guest
Posted: 29. Jun 2010, 16:18
by finalsayan
I reopen the problem
using normal folders out of the user home folder of windows 7 (for example C:\sharedfolder) I can share folders between the host (windows 7) and the guest (xubuntu)
however if I use an application folder (for example the Dropbox folder placed under C:\MyDropbox) the problem is still present and I cannot mount the folder with the read and write permissions on the guest system
suggestions?

Re: Shared Folders on Ubuntu guest
Posted: 29. Jun 2010, 16:54
by Perryg
Again this is going back to the permissions of that folder. If everyone does not have read write permissions Windows 7 is going to regulate what you can do.
Bottom line is if you do not create the folder yourself then you must change the permissions to allow rwxd access. Keep in mind that this could make Windows 7 mad as they have gone to great lengths to lock down permissions (as they put it to better enhance security).
Re: Shared Folders on Ubuntu guest
Posted: 29. Jun 2010, 18:16
by finalsayan
Perryg wrote:Again this is going back to the permissions of that folder. If everyone does not have read write permissions Windows 7 is going to regulate what you can do.
Bottom line is if you do not create the folder yourself then you must change the permissions to allow rwxd access. Keep in mind that this could make Windows 7 mad as they have gone to great lengths to lock down permissions (as they put it to better enhance security).
as expected

, I've tried doing right click -> property on the folder in order to change the permission but it seems that nothing changes, maybe I have to use some "root" user under windows in order to do that?