Help with Shared Folders VB 3.0.6

Discussions about using Linux guests in VirtualBox.

Help with Shared Folders VB 3.0.6

Postby DaveLevy » 17. Sep 2009, 20:02

I am using Ubuntu 8 as a guest, Mac OSx 10.5 as a host and trying to implement shared folders using VB 3.0.6.

I create the host folder using Finder
I assign the folder using the GUI
I start the VM , as the non root user, I

Code: Select all   Expand viewCollapse view
sudo mkdir /host
sudo mount -t vboxsf hostfs /host
touch /host/usr.junk
touch: cannot touch  '/host/usr.junk': Permission denied


/host is 755 root:root after the mount, I have tried setting the mount point to 777 before the mount, explicitly setting the -o rw in the mount statement, tried these parameters in the /etc/fstab and setting the host file system to 777.

Have I forgotten something stupid in the Linux command? Or is this a problem? I have shared folders working on U8 on another computer. I have read the manual
--
Dave,
also now using Mac OS 10.5.8 on Mac Book Pro 5.1
DaveLevy
 
Posts: 33
Joined: 1. May 2008, 08:24
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: Centos, Ubuntu, Open Solaris, Windows 7

Re: Help with Shared Folders VB 3.0.6

Postby Sasquatch » 17. Sep 2009, 20:15

See my signature for howto's. There is the solution to your problem.

Moving it to Linux Guests, you're not running that as Host.
Read the Forum Posting Guide before opening a topic.
VB FAQ: Check this before asking questions.
User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions + Xorg config
Howto: Use Shared Folders
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Sasquatch
Site Moderator
 
Posts: 11032
Joined: 17. Mar 2008, 13:41
Location: Netherlands
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows XP, Linux

Re: Help with Shared Folders VB 3.0.6

Postby DaveLevy » 17. Sep 2009, 20:32

Thanks, your sig is getting longer, :D wasn't there last time I looked.

Is there an option string that mounts a shared folder with permissions 777? The man mount page doesn't yet have a vboxsf options section.

Sorry for wrong group thing. Thanks for fixing it.
Last edited by DaveLevy on 17. Sep 2009, 23:17, edited 1 time in total.
--
Dave,
also now using Mac OS 10.5.8 on Mac Book Pro 5.1
DaveLevy
 
Posts: 33
Joined: 1. May 2008, 08:24
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: Centos, Ubuntu, Open Solaris, Windows 7

Re: Help with Shared Folders VB 3.0.6

Postby Sasquatch » 17. Sep 2009, 20:55

Did you actually check the file bit set after my mount command for user privileges? You don't always need 777, 666 is enough already, sometimes even 600 (or just 755 like default in /usr/bin).
Read the Forum Posting Guide before opening a topic.
VB FAQ: Check this before asking questions.
User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions + Xorg config
Howto: Use Shared Folders
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Sasquatch
Site Moderator
 
Posts: 11032
Joined: 17. Mar 2008, 13:41
Location: Netherlands
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows XP, Linux


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 12 guests