Help with Shared Folders VB 3.0.6

Discussions about using Linux guests in VirtualBox.
Post Reply
DaveLevy
Posts: 56
Joined: 1. May 2008, 08:24
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Ubuntu, Fedora
Location: London
Contact:

Help with Shared Folders VB 3.0.6

Post by DaveLevy »

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

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,
Windows 10, and also using Mac OS 10.11 on Mac Book Pro 5.1
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Help with Shared Folders VB 3.0.6

Post by Sasquatch »

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.
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.
DaveLevy
Posts: 56
Joined: 1. May 2008, 08:24
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Ubuntu, Fedora
Location: London
Contact:

Re: Help with Shared Folders VB 3.0.6

Post by DaveLevy »

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,
Windows 10, and also using Mac OS 10.11 on Mac Book Pro 5.1
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Help with Shared Folders VB 3.0.6

Post by Sasquatch »

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