summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-03-03 02:56:23 +0100
committerMax Magorsch <arzano@gentoo.org>2020-03-03 02:56:23 +0100
commitaa86b4f0eb646f11f57db9687bf31c6dbcb4bf15 (patch)
treeb18bc0dc1b9ff19b2b386adf717aa5fa05928912
parentIgnore the output directories in git (diff)
downloadplanet-2.0.3.tar.gz
planet-2.0.3.tar.bz2
planet-2.0.3.zip
Fix the permissions during updatev2.0.3
Signed-off-by: Max Magorsch <arzano@gentoo.org>
-rwxr-xr-xupdate.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index 915c8fe..8ca43c3 100755
--- a/update.sh
+++ b/update.sh
@@ -4,6 +4,7 @@ USER=${1:gplanet}
GROUP=${2:gplanet}
mkdir -p htdocs data
+chown -R $USER:$GROUP htdocs data
docker build --build-arg USER_ID=$(id -u $USER) \
--build-arg GROUP_ID=$(id -g $GROUP) \