Merge "Set keystone.conf to mode 0600"

This commit is contained in:
Jenkins 2013-11-01 18:32:51 +00:00 committed by Gerrit Code Review
commit 6fdea94718

1
lib/keystone Executable file → Normal file
View File

@ -126,6 +126,7 @@ function configure_keystone() {
if [[ "$KEYSTONE_CONF_DIR" != "$KEYSTONE_DIR/etc" ]]; then
cp -p $KEYSTONE_DIR/etc/keystone.conf.sample $KEYSTONE_CONF
chmod 600 $KEYSTONE_CONF
cp -p $KEYSTONE_DIR/etc/policy.json $KEYSTONE_CONF_DIR
if [[ -f "$KEYSTONE_DIR/etc/keystone-paste.ini" ]]; then
cp -p "$KEYSTONE_DIR/etc/keystone-paste.ini" "$KEYSTONE_PASTE_INI"