From 28d4392d56c6a493dd71c4a5a5f64f6dee36dd01 Mon Sep 17 00:00:00 2001 From: Andrew Lazarev Date: Wed, 29 Oct 2014 17:25:12 -0700 Subject: [PATCH] Set permissions on sahara cache Signing certificate directory should have 700 mode. Before the change it was created with 755. As a visual impact this CR removes warning from keystonemiddleware. Change-Id: I8483e73447348b9a9e33dfd382543978a70a9d43 Closes-Bug: #1387416 --- lib/sahara | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/sahara b/lib/sahara index 5c7c2534e2..42e8e016d8 100644 --- a/lib/sahara +++ b/lib/sahara @@ -104,6 +104,7 @@ function configure_sahara { # Create auth cache dir sudo mkdir -p $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/* configure_auth_token_middleware $SAHARA_CONF_FILE sahara $SAHARA_AUTH_CACHE_DIR