From 5a251ca75fe7a4c02a2ff71dcd0ff9f7ad904eff Mon Sep 17 00:00:00 2001 From: SamYaple Date: Tue, 2 Feb 2016 18:04:56 +0000 Subject: [PATCH] Fix manila perms Change-Id: I5b40de377ac0323d3253f58b49318d57da347d11 Parially-Implements: blueprint enable-manila-containers --- docker/manila/manila-base/Dockerfile.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/manila/manila-base/Dockerfile.j2 b/docker/manila/manila-base/Dockerfile.j2 index 24a951fd5c..bdd654c7cd 100644 --- a/docker/manila/manila-base/Dockerfile.j2 +++ b/docker/manila/manila-base/Dockerfile.j2 @@ -14,9 +14,9 @@ ADD manila-base-archive /manila-base-source RUN ln -s manila-base-source/* manila \ && useradd --user-group manila \ && /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /manila \ - && mkdir -p /etc/manila /var/log/manila /home/manila \ + && mkdir -p /etc/manila /var/lib/manila /var/log/manila /home/manila \ && cp -r /manila/etc/manila/* /etc/manila/ \ - && chown -R manila: /etc/manila /var/log/manila /home/manila + && chown -R manila: /etc/manila /var/lib/manila /var/log/manila /home/manila {% endif %}