VirtualBox

Changeset 33034 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
Oct 11, 2010 10:08:02 AM (14 years ago)
Author:
vboxsync
Message:

Installer/linux: set directory permissions explicitly in the Linux installers

Location:
trunk/src/VBox/Installer/linux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/install.sh

    r32326 r33034  
    207207    # Find previous installation
    208208    if [ ! -r $CONFIG_DIR/$CONFIG ]; then
    209         mkdir -p $CONFIG_DIR
     209        mkdir -p -m 755 $CONFIG_DIR
    210210        touch $CONFIG_DIR/$CONFIG
    211211    else
     
    306306
    307307    # Verify the archive
    308     mkdir -p $INSTALLATION_DIR
     308    mkdir -p -m 755 $INSTALLATION_DIR
    309309    bzip2 -d -c VirtualBox.tar.bz2 | tar -tf - > $CONFIG_DIR/$CONFIG_FILES
    310310    RETVAL=$?
  • trunk/src/VBox/Installer/linux/run-inst.sh

    r31664 r33034  
    246246
    247247# install the new version
    248 mkdir -p "$CONFIG_DIR"
     248mkdir -p -m 755 "$CONFIG_DIR"
    249249test ! -d "$INSTALLATION_DIR" && REMOVE_INSTALLATION_DIR=1
    250 mkdir -p "$INSTALLATION_DIR"
     250mkdir -p -m 755 "$INSTALLATION_DIR"
    251251# Create a list of the files in the archive, skipping any directories which
    252252# already exist in the filesystem.
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