Changeset 104248 in vbox
- Timestamp:
- Apr 9, 2024 9:31:05 AM (8 months ago)
- Location:
- trunk/src/VBox/Installer/linux
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/debian/postinst
r98103 r104248 65 65 fi 66 66 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 77 71 fi 78 72 if ! dpkg-statoverride --list /usr/lib/virtualbox/VBoxHeadless > /dev/null 2>&1; then -
trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
r103028 r104248 223 223 rm -f $RPM_BUILD_ROOT/usr/lib/virtualbox/chrpath 224 224 ln -s ../VBoxVMM.so $RPM_BUILD_ROOT/usr/lib/virtualbox/components/VBoxVMM.so 225 for i in V BoxHeadless VBoxNetDHCP VBoxNetNAT VBoxNetAdpCtl; do225 for i in VirtualBoxVM VBoxHeadless VBoxNetDHCP VBoxNetNAT VBoxNetAdpCtl; do 226 226 chmod 4511 $RPM_BUILD_ROOT/usr/lib/virtualbox/$i; done 227 if test -e $RPM_BUILD_ROOT/usr/lib/virtualbox/VirtualBoxVM; then228 chmod 4511 $RPM_BUILD_ROOT/usr/lib/virtualbox/VirtualBoxVM229 else230 chmod 4511 $RPM_BUILD_ROOT/usr/lib/virtualbox/VirtualBox231 fi232 227 if [ -f $RPM_BUILD_ROOT/usr/lib/virtualbox/VBoxVolInfo ]; then 233 228 chmod 4511 $RPM_BUILD_ROOT/usr/lib/virtualbox/VBoxVolInfo
Note:
See TracChangeset
for help on using the changeset viewer.