Changeset 18005 in vbox
- Timestamp:
- Mar 17, 2009 10:03:01 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/makepackage.sh
r17917 r18005 160 160 || $3 == "opt/VirtualBox/amd64/VBoxSDL=amd64/VBoxSDL" \ 161 161 || $3 == "opt/VirtualBox/amd64/VBoxBFE=amd64/VBoxBFE" \ 162 || $3 == "opt/VirtualBox/amd64/VBoxNetDHCP=amd64/VBoxNetDHCP" \163 162 || $3 == "opt/VirtualBox/i386/VirtualBox=i386/VirtualBox" \ 164 163 || $3 == "opt/VirtualBox/i386/VirtualBox3=i386/VirtualBox3" \ … … 166 165 || $3 == "opt/VirtualBox/i386/VBoxSDL=i386/VBoxSDL" \ 167 166 || $3 == "opt/VirtualBox/i386/VBoxBFE=i386/VBoxBFE" \ 168 || $3 == "opt/VirtualBox/i386/VBoxNetDHCP=i386/VBoxNetDHCP" \169 167 ) \ 170 168 { $4 = "4755" } { print }' prototype > prototype2 … … 172 170 fi 173 171 174 # VBoxUSBHelper needs to be marked setuid root. 175 if test -f $VBOX_INSTALLED_DIR/amd64/VBoxUSBHelper || test -f $VBOX_INSTALLED_DIR/i386/VBoxUSBHelper; then 176 $VBOX_AWK 'NF == 6 \ 177 && ( $3 == "opt/VirtualBox/amd64/VBoxUSBHelper=amd64/VBoxUSBHelper" \ 178 || $3 == "opt/VirtualBox/i386/VBoxUSBHelper=i386/VBoxUSBHelper" \ 179 ) \ 180 { $4 = "4755" } { print }' prototype > prototype2 181 mv -f prototype2 prototype 182 fi 183 184 # VBoxNetAdpCtl needs to be marked setuid root. 185 if test -f $VBOX_INSTALLED_DIR/amd64/VBoxNetAdpCtl || test -f $VBOX_INSTALLED_DIR/i386/VBoxNetAdpCtl; then 186 $VBOX_AWK 'NF == 6 \ 187 && ( $3 == "opt/VirtualBox/amd64/VBoxNetAdpCtl=amd64/VBoxNetAdpCtl" \ 188 || $3 == "opt/VirtualBox/i386/VBoxNetAdpCtl=i386/VBoxNetAdpCtl" \ 189 ) \ 190 { $4 = "4755" } { print }' prototype > prototype2 191 mv -f prototype2 prototype 192 fi 172 # Other executables that need setuid root (hardened or otherwise) 173 $VBOX_AWK 'NF == 6 \ 174 && ( $3 == "opt/VirtualBox/amd64/VBoxUSBHelper=amd64/VBoxUSBHelper" \ 175 || $3 == "opt/VirtualBox/i386/VBoxUSBHelper=i386/VBoxUSBHelper" \ 176 || $3 == "opt/VirtualBox/amd64/VBoxNetAdpCtl=amd64/VBoxNetAdpCtl" \ 177 || $3 == "opt/VirtualBox/i386/VBoxNetAdpCtl=i386/VBoxNetAdpCtl" \ 178 || $3 == "opt/VirtualBox/amd64/VBoxNetDHCP=amd64/VBoxNetDHCP" \ 179 || $3 == "opt/VirtualBox/i386/VBoxNetDHCP=i386/VBoxNetDHCP" \ 180 ) \ 181 { $4 = "4755" } { print }' prototype > prototype2 182 mv -f prototype2 prototype 193 183 194 184
Note:
See TracChangeset
for help on using the changeset viewer.