From b139ca5432bbc1dcdceef6fc2f6853f791b6001f Mon Sep 17 00:00:00 2001 From: zeus Date: Wed, 8 Dec 2021 22:12:04 +0200 Subject: [PATCH] add root --- install/usr/share/swarmlab.io/sec/swarmlab-sec | 2 -- 1 file changed, 2 deletions(-) diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index d81e539..e6c0e56 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -167,7 +167,6 @@ if [ -d "$Wdir/project" ]; then && chmod -R 600 \${SSHDIR}/* \ && chown -R \${USER1}:\${USER1} \${SSHDIR} - WORKDIR /home/docker/project COPY .vimrc /home/docker USER root EOF @@ -249,7 +248,6 @@ if [ "$Wdir" == "$HOME" ]; then && chown -R \${USER1}:\${USER1} \${SSHDIR} COPY .vimrc /home/docker - WORKDIR /home/docker/project USER root EOF fi