Merge "Set permissions on sahara cache"
This commit is contained in:
commit
4710282ef6
@ -108,6 +108,7 @@ function configure_sahara {
|
|||||||
# Create auth cache dir
|
# Create auth cache dir
|
||||||
sudo mkdir -p $SAHARA_AUTH_CACHE_DIR
|
sudo mkdir -p $SAHARA_AUTH_CACHE_DIR
|
||||||
sudo chown $STACK_USER $SAHARA_AUTH_CACHE_DIR
|
sudo chown $STACK_USER $SAHARA_AUTH_CACHE_DIR
|
||||||
|
sudo chmod 700 $SAHARA_AUTH_CACHE_DIR
|
||||||
rm -rf $SAHARA_AUTH_CACHE_DIR/*
|
rm -rf $SAHARA_AUTH_CACHE_DIR/*
|
||||||
|
|
||||||
configure_auth_token_middleware $SAHARA_CONF_FILE sahara $SAHARA_AUTH_CACHE_DIR
|
configure_auth_token_middleware $SAHARA_CONF_FILE sahara $SAHARA_AUTH_CACHE_DIR
|
||||||
|
Loading…
Reference in New Issue
Block a user