VirtualBox

Opened 6 years ago

#18196 new enhancement

OSX GAs binaries not in OSX guest path

Reported by: Socratis Owned by:
Component: guest additions Version: VirtualBox 6.0.0
Keywords: OSX, guest additions, GAs, path Cc:
Guest type: OSX Server Host type: Mac OS X

Description

On Linux based systems the Guest Additions are installed in several places, one being the actual binary (/opt/VBoxGuestAdditions-6.0.0/bin/VBoxControl), with two additional links:

$ whereis VBoxControl
VBoxControl: /usr/bin/VBoxControl /usr/bin/X11/VBoxControl /opt/VBoxGuestAdditions-6.0.0/bin/VBoxControl

 $ ls -al /usr/bin/VBoxControl /usr/bin/X11/VBoxControl /opt/VBoxGuestAdditions-6.0.0/bin/VBoxControl
-rwxr-xr-x 1 root root 911520 Dec  18 13:45 /opt/VBoxGuestAdditions-6.0.0/bin/VBoxControl
lrwxrwxrwx 1 root root     45 Dec  18 22:27 /usr/bin/VBoxControl -> /opt/VBoxGuestAdditions-6.0.0/bin/VBoxControl
lrwxrwxrwx 1 root root     45 Dec  18 22:27 /usr/bin/X11/VBoxControl -> /opt/VBoxGuestAdditions-6.0.0/bin/VBoxControl

On an OSX guest however only the actual binary(ies) are installed, with no additional links in the Path:

$ locate VBoxControl
/Library/Application Support/VirtualBox Guest Additions/VBoxControl
/Library/Application Support/VirtualBox Guest Additions/VBoxControl-amd64

$ ls -al /Library/Application\ Support/VirtualBox\ Guest\ Additions/VBoxControl \
         /Library/Application\ Support/VirtualBox\ Guest\ Additions/VBoxControl-amd64 
-rwxr-xr-x  1 root  wheel  907364 Dec 18 13:45 /Library/Application Support/VirtualBox Guest Additions/VBoxControl
-rwxr-xr-x  1 root  wheel  907364 Dec 18 13:45 /Library/Application Support/VirtualBox Guest Additions/VBoxControl-amd64

Please consider adding symbolic links for the VirtualBox programs in the Path, wherever this is allowed by the OSX policy (most probably "/usr/local/bin"):

$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin

It's going to make it easier/less awkward...

Change History (0)

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette