Shared Folders on Ubuntu guest

Discussions about using Linux guests in VirtualBox.
Post Reply
finalsayan
Posts: 4
Joined: 28. Jun 2010, 20:47
Primary OS: MS Windows 7
VBox Version: OSE Debian
Guest OSses: Ubuntu

Shared Folders on Ubuntu guest

Post 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 :cry: :cry:
Last edited by finalsayan on 29. Jun 2010, 16:11, edited 2 times in total.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Shared Folders on Ubuntu guest

Post 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.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Shared Folders on Ubuntu guest

Post by Sasquatch »

Did you also follow my Howto: Use Shared Folders?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
finalsayan
Posts: 4
Joined: 28. Jun 2010, 20:47
Primary OS: MS Windows 7
VBox Version: OSE Debian
Guest OSses: Ubuntu

Re: Shared Folders on Ubuntu guest

Post by finalsayan »

thank you, now it works simply moving away my folder on windows 7 to another position (not the windows 7 home) :)
finalsayan
Posts: 4
Joined: 28. Jun 2010, 20:47
Primary OS: MS Windows 7
VBox Version: OSE Debian
Guest OSses: Ubuntu

Re: Shared Folders on Ubuntu guest

Post 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? :(
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Shared Folders on Ubuntu guest

Post 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).
finalsayan
Posts: 4
Joined: 28. Jun 2010, 20:47
Primary OS: MS Windows 7
VBox Version: OSE Debian
Guest OSses: Ubuntu

Re: Shared Folders on Ubuntu guest

Post 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?
Post Reply