I apologize if this has been covered in another thread. I wasn't able to locate it.
I boot my computer into Ubuntu 10.04. I have the latest version of VB installed. I have a second HD, NTFS formatted, in my computer. The second drive contains my VDI files and it is also the share point for all of my VB guest OSes. When in the host Ubuntu OS, I can browse the NTFS drive just fine (otherwise I couldn't launch the VDIs). But when I run my Linux guest OSes (Fedora 13, OpenSUSE 11.3, & OpenSolaris 2009.06) they all get the same permissions error when trying to access the VB share. I have tried mounting the share manually and used the fstab file. Same result either way, for all three Linux guest OSes. When I fire up a Windows based guest OS, it can use the VB share just fine. And if I boot the host computer into a Windows OS and access the very same Linux VDIs I access from Ubuntu, I can access the VB shared folders fine. So, essentially Linux guest OSes can access the VB share when running from a Windows host OS, but not when running from a Linux host, which can see the folder it's sharing just fine. What the heck?
Thanks in advance for any help.
Denied access to host NTFS based VB shares
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Denied access to host NTFS based VB shares
Have you tried to mount the share with the options switch?
Change uid and gid to match your id
Code: Select all
mount -t vboxsf -o rw,uid=1000,gid=1000 <share name> <mount point>-
goodrick
- Posts: 9
- Joined: 10. Oct 2010, 08:48
- Primary OS: Ubuntu other
- VBox Version: OSE Fedora
- Guest OSses: Fedora 13, OpenSUSE 11.3, OpenSolaris 2009.06
Re: Denied access to host NTFS based VB shares
Sorry - took me a bit to get back to this.
Command:
mount -t vboxsf -o rw,uid=brian,gid=brian data /mnt/windows-share
Results:
could not convert brian to integer, result = 0:Numerical result out of range
Puzzling. Thanks for any additional insight you can offer.
Command:
mount -t vboxsf -o rw,uid=brian,gid=brian data /mnt/windows-share
Results:
could not convert brian to integer, result = 0:Numerical result out of range
Puzzling. Thanks for any additional insight you can offer.
-
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: Denied access to host NTFS based VB shares
You have to use numbers, not actual names. You didn't execute what Perry wrote. Check your id by using the command 'id -u' for the numerical output of your user and 'id -gu' for the group ID number.
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.
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.