Always chown $KEYSTONE_CONF_DIR
If the directory exists but is owned by another user, then this will cause failures. Note that we already do this for other components (glance, for instance). Change-Id: Ic7d2a2dd179f721636afc9ea9c3fe6bb314c9b33
This commit is contained in:
parent
1bd2a1b186
commit
90e1088854
@ -81,8 +81,8 @@ function configure_keystone() {
|
||||
|
||||
if [[ ! -d $KEYSTONE_CONF_DIR ]]; then
|
||||
sudo mkdir -p $KEYSTONE_CONF_DIR
|
||||
sudo chown `whoami` $KEYSTONE_CONF_DIR
|
||||
fi
|
||||
sudo chown `whoami` $KEYSTONE_CONF_DIR
|
||||
|
||||
if [[ "$KEYSTONE_CONF_DIR" != "$KEYSTONE_DIR/etc" ]]; then
|
||||
cp -p $KEYSTONE_DIR/etc/keystone.conf.sample $KEYSTONE_CONF
|
||||
|
Loading…
Reference in New Issue
Block a user