Merge "Set umask"

This commit is contained in:
Jenkins
2014-02-28 01:43:31 +00:00
committed by Gerrit Code Review

View File

@@ -5,11 +5,12 @@
# **Glance**, **Heat**, **Horizon**, **Keystone**, **Nova**, **Neutron**, # **Glance**, **Heat**, **Horizon**, **Keystone**, **Nova**, **Neutron**,
# and **Swift** # and **Swift**
# This script allows you to specify configuration options of what git # This script's options can be changed by setting appropriate environment
# repositories to use, enabled services, network configuration and various # variables. You can configure things like which git repositories to use,
# passwords. If you are crafty you can run the script on multiple nodes using # services to enable, OS images to use, etc. Default values are located in the
# shared settings for common resources (mysql, rabbitmq) and build a multi-node # ``stackrc`` file. If you are crafty you can run the script on multiple nodes
# developer install. # using shared settings for common resources (eg., mysql or rabbitmq) and build
# a multi-node developer install.
# To keep this script simple we assume you are running on a recent **Ubuntu** # To keep this script simple we assume you are running on a recent **Ubuntu**
# (12.04 Precise or newer) or **Fedora** (F18 or newer) machine. (It may work # (12.04 Precise or newer) or **Fedora** (F18 or newer) machine. (It may work
@@ -30,6 +31,9 @@ unset LANGUAGE
LC_ALL=C LC_ALL=C
export LC_ALL export LC_ALL
# Make sure umask is sane
umask 022
# Keep track of the devstack directory # Keep track of the devstack directory
TOP_DIR=$(cd $(dirname "$0") && pwd) TOP_DIR=$(cd $(dirname "$0") && pwd)