feature request

Discussions about using Linux guests in VirtualBox.
Post Reply
Alonbr
Posts: 1
Joined: 8. Jul 2021, 08:00

feature request

Post by Alonbr »

hey,

I think it would realy help adding

Code: Select all

sudo usermod -a -G vboxsf "$USER"
to the end of VBoxLinuxAdditions.run.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: feature request

Post by scottgus1 »

Interesting idea. We can't make that change here, but you're welcome to post an enhancement request on the Bugtracker
multiOS
Volunteer
Posts: 800
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: WIN11,10, 7, Linux (various)
Location: United Kingdom

Re: feature request

Post by multiOS »

I believe one significant issue is that, like so many things in Linuxland, the same command line solution isn't universal i.e. there are alternative methods recommended/required in by some Distros including:

- sudo adduser [username] vboxsf

OR

- sudo usermod -a -G vboxsf 'whoami' [which self identifies the user identity]

There may well be others.

There are also some Distros that have a GUI app for managing Usergroup membership; and in more secure environments where users do not have full admin/sudo privileges, e.g. a standard Debian installation, the commands can only be used by someone signing in as 'root,' or by first granting the user full root/sudo privileges.

Some Distros, e.g. openSUSE, also require a further step to grant User access to the shared folder location e.g. sudo chown -R `whoami`:users /media/

All of these anomalies make it very difficult for the Manual maintainers to provide/maintain a detailed procedural guide that can reliably cover all options.
Post Reply