VirtualBox

Ignore:
Timestamp:
Apr 9, 2024 9:31:05 AM (14 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
162700
Message:

Installer/linux: Don't consider the VirtualBox binary for setuid treatment, the UI is always split now. bugref:9049

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/debian/postinst

    r98103 r104248  
    6565  fi
    6666
    67   # The starters need to be Suid root. They drop the privileges before starting
    68   # the real frontend.
    69   if test -e /usr/lib/virtualbox/VirtualBoxVM; then
    70     if ! dpkg-statoverride --list /usr/lib/virtualbox/VirtualBoxVM > /dev/null 2>&1; then
    71       chmod 4511 /usr/lib/virtualbox/VirtualBoxVM
    72     fi
    73   else
    74     if ! dpkg-statoverride --list /usr/lib/virtualbox/VirtualBox > /dev/null 2>&1; then
    75       chmod 4511 /usr/lib/virtualbox/VirtualBox
    76     fi
     67  # The starters need to be set-uid-to-root. They drop the privileges before
     68  # starting the real frontend.
     69  if ! dpkg-statoverride --list /usr/lib/virtualbox/VirtualBoxVM > /dev/null 2>&1; then
     70    chmod 4511 /usr/lib/virtualbox/VirtualBoxVM
    7771  fi
    7872  if ! dpkg-statoverride --list /usr/lib/virtualbox/VBoxHeadless > /dev/null 2>&1; then
Note: See TracChangeset for help on using the changeset viewer.

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