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
... | ... |
@@ -328,6 +328,7 @@ fi |
328 | 328 |
DATA_DIR=${DATA_DIR:-${DEST}/data} |
329 | 329 |
sudo mkdir -p $DATA_DIR |
330 | 330 |
safe_chown -R $STACK_USER $DATA_DIR |
331 |
+safe_chmod 0755 $DATA_DIR |
|
331 | 332 |
|
332 | 333 |
# Configure proper hostname |
333 | 334 |
# Certain services such as rabbitmq require that the local hostname resolves |