From 13890f9e0b1d3627f131cf13696bdadfba9517fe Mon Sep 17 00:00:00 2001 From: Nao1215 Date: Thu, 2 Dec 2021 13:55:56 +0900 Subject: [PATCH] Change the permissions under the user home directory from root: root to mimixbox: mimixbox. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 13a4042..1086da5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,8 @@ RUN git clone https://github.com/shellspec/shellspec.git && \ RUN echo "#!/bin/bash" > ${IT_SHELL} && \ echo "cd /home/mimixbox/integration_tests && shellspec\n" >> ${IT_SHELL} && \ - chmod a+x ${IT_SHELL} + chmod a+x ${IT_SHELL} && \ + chown -R mimixbox:mimixbox /home/mimixbox/. # If you want to administrator privileges, you become the root user. # RUN echo "mimixbox ALL=(ALL) ALL" >> /etc/sudoers