VirtualBox

Ignore:
Timestamp:
Aug 7, 2015 1:36:22 AM (9 years ago)
Author:
vboxsync
Message:

Installer/darwin: Fix set-uid bits on 10.11 beta 6. Also make sure VBoxNetAdpCtl is alwyas given a set-uid bit, even if hardening is disabled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/darwin/VirtualBox/postflight

    r54685 r57231  
    2424# Install the Python bindings
    2525#
    26 
    2726VBOX_INSTALL_PATH=/Applications/VirtualBox.app/Contents/MacOS
    2827PYTHON="python python2.3 python2.5 python2.6 python2.7"
     
    8382
    8483#
     84# Workaround for 10.11 beta 6 in which the set-uid bit isn't set by the installer.
     85#
     86SET_UID_BINARIES="VBoxNetAdpCtl"
     87SET_UID_BINARIES="${SET_UID_BINARIES} VBoxHeadless VirtualBox VirtualBoxVM VBoxNetDHCP VBoxNetNAT" # WITH_HARDENING
     88for bin in ${SET_UID_BINARIES}; do
     89    chmod u+s "/Applications/VirtualBox.app/Contents/MacOS/${bin}"
     90done
     91
     92#
    8593# Correct the ownership of the directories in case there
    8694# was an existing installation.
Note: See TracChangeset for help on using the changeset viewer.

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