From 85b2635da32be5d38a2df282291e37a14bb9f76b Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 23 Mar 2022 09:02:46 +0000 Subject: [PATCH] Remove permission changing commands --- .devcontainer/post-create.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.devcontainer/post-create.sh b/.devcontainer/post-create.sh index ca2909e..4f845eb 100644 --- a/.devcontainer/post-create.sh +++ b/.devcontainer/post-create.sh @@ -1,6 +1,4 @@ #!/bin/bash echo '* text=auto eol=lf' > $(git rev-parse --git-dir)/info/attributes -rm -rf /var/www/html -ln -sT `pwd`/test/website /var/www/html -chown -R www-data:www-data ./test/website -chown -R www-data:www-data /var/www/html +sudo rm -rf /var/www/html +sudo ln -sT $(pwd)/test/website /var/www/html