From 571ba8b3bb6b600a9b2479be1e88f829b086631b Mon Sep 17 00:00:00 2001 From: Hongbin Lu Date: Wed, 29 Mar 2017 22:06:54 -0400 Subject: [PATCH] Change mode of DATA_DIR to 0755 as well It looks libvirt/qemu requires mode 0755 to functioning properly, but DATA_DIR won't be set to 0755 if it is different from default. Change-Id: I37ca0b02b6a75b3756860b547e84c37ccfc99d13 Closes-Bug: #1677421 --- stack.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/stack.sh b/stack.sh index 20cdc1dfcc..310676ac5c 100755 --- a/stack.sh +++ b/stack.sh @@ -328,6 +328,7 @@ fi DATA_DIR=${DATA_DIR:-${DEST}/data} sudo mkdir -p $DATA_DIR safe_chown -R $STACK_USER $DATA_DIR +safe_chmod 0755 $DATA_DIR # Configure proper hostname # Certain services such as rabbitmq require that the local hostname resolves