Shared folder problems

Discussions about using Linux guests in VirtualBox.
Larvae
Posts: 9
Joined: 26. May 2019, 16:03

Re: Shared folder problems

Post by Larvae »

Since I tried multiple things I found in different forums I have already rebooted several times after I added myself to vboxsf.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Shared folder problems

Post by socratis »

Again, what's the output of "id". If it doesn't show that you're a part of the 'vboxsf' group, you're not doing it right. If I remember correctly, the proper command is:
  • 
    usermod -a -G vboxsf <YourUsername>
Reboot and verify membership to the 'vboxsf' with:
  • 
    id
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Larvae
Posts: 9
Joined: 26. May 2019, 16:03

Re: Shared folder problems

Post by Larvae »

The output of "id" stays the same.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Shared folder problems

Post by socratis »

Then something is wrong with your setup.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Larvae
Posts: 9
Joined: 26. May 2019, 16:03

Re: Shared folder problems

Post by Larvae »

Looks like there was an error in the group id. Now "id" says I'm in vboxsf. But there's still no difference regarding the shared folders.
Larvae
Posts: 9
Joined: 26. May 2019, 16:03

Re: Shared folder problems

Post by Larvae »

Now those (empty, pw protected, auto mounted) folders are in group root...
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Shared folder problems

Post by socratis »

Larvae wrote:Looks like there was an error in the group id
Like?
Larvae wrote:Now those folders are in group root
What folders? Where are they? What do they look like? Permissions? (in Unix-like style)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Larvae
Posts: 9
Joined: 26. May 2019, 16:03

Re: Shared folder problems

Post by Larvae »

1. For some reason vboxsf had an id that was already in use.

2. The folders created by VirtualBox as auto mounting points for the shared folders. They are in my home directory and have the following permissions

Code: Select all

drwxr-x--- 2 root     root     4096 Mai 27 10:46 sf_first
drwxr-x--- 2 root     root     4096 Mai 27 10:46 sf_second
Deleting and rebooting doesnt change them. And, like I said before, mounting them manually doesn't work either.
fearshot
Posts: 1
Joined: 21. Aug 2019, 10:07
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Debian 10

Re: Shared folder problems

Post by fearshot »

Larvae wrote: Deleting and rebooting doesnt change them. And, like I said before, mounting them manually doesn't work either.
Hi folks! @Larvae, did you solve it?
Post Reply