diff options
| author | Christian Berendt <berendt@betacloud-solutions.de> | 2016-06-16 01:24:59 +0200 |
|---|---|---|
| committer | Christian Berendt <berendt@betacloud-solutions.de> | 2016-06-16 01:24:59 +0200 |
| commit | e299720eb7899abd97eff8f491e0ec2aa2843062 (patch) | |
| tree | 72e35685ad7aa79d7d469f9c3b65f06a674e57b6 /docker | |
| parent | 2cb0f445bba72d5b085856deb57a5e48c5832ca9 (diff) | |
| download | kolla-e299720eb7899abd97eff8f491e0ec2aa2843062.tar.gz kolla-e299720eb7899abd97eff8f491e0ec2aa2843062.zip | |
Fix ownership of nova-novncproxy-source directory
This solves the following issue when using latest noVNC sources for
the nova-novncproxy container:
OSError: [Errno 13] Permission denied: '/usr/share/novnc'
Change-Id: Iea1f3dfcc696f53431e99570019e27cdef4ca5cb
Closes-bug: #1593006
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/nova/nova-novncproxy/Dockerfile.j2 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docker/nova/nova-novncproxy/Dockerfile.j2 b/docker/nova/nova-novncproxy/Dockerfile.j2 index ee1d6bf68..01fb62ce7 100644 --- a/docker/nova/nova-novncproxy/Dockerfile.j2 +++ b/docker/nova/nova-novncproxy/Dockerfile.j2 @@ -19,7 +19,9 @@ RUN apt-get -y install --no-install-recommends \ {% elif install_type == 'source' %} ADD nova-novncproxy-archive /usr/share/nova-novncproxy-source -RUN cd /usr/share && ln -s nova-novncproxy-source/* novnc +RUN cd /usr/share \ + && ln -s nova-novncproxy-source/* novnc \ + && chown -R nova: /usr/share/nova-novncproxy-source {% endif %} |
