Page 1 of 1

linux guest - Cannot access shared folders.

Posted: 25. Jun 2020, 15:21
by jcdole
Version 6.1.8 r137981 (Qt5.9.7)
Leap 15.2
Ga installed.
User in group vboxsf.

Shared folder auto mount in : /virtualbox_vm/shared_folders

User cannot access shared folder because the first part of path ( /virtualbox_vm ) is owned by root:root with mode 750
The last part of path ( shared_folders ) is owned by root:vboxsf with mode 770

Why all the path part not owned by root:vboxsf ?

Re: linux guest - Cannot access shared folders.

Posted: 25. Jun 2020, 17:53
by scottgus1
Sometimes, permissions errors with a Guest Additions Shared Folder happen because the user is trying to do something the GASF is not designed for. GASFs are only for file & folder copying.

Can you open the GASF in the file manager in the guest and drag a file into or out of the folder to your guest OS's desktop or another folder in the guest?

Can you do the same action if you open the network server 'vboxsvr' (which is the fake network location for the GASF that gets mounted)?

Re: linux guest - Cannot access shared folders.

Posted: 2. Aug 2020, 18:33
by jcdole
'/virtualbox_vm' is owned by root:root with mode 750.
The property (750) is done by during the mount
That mean that root can read, write,excute (7) user in the root group can read, execute (5) other can nothing (0)
How the user owning the VM can access the the shared folder as he belongs to group vboxsf and not to group root.
The normal user cannot go through the first step : traverse the folder '/virtualbox_vm'.