From f4459b38809086ada05a6e32223d18ba1ed2d532 Mon Sep 17 00:00:00 2001 From: Zusier Date: Wed, 16 Mar 2022 00:22:28 +0000 Subject: [PATCH] Chown in install script for volumes --- install/docker-linux.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install/docker-linux.sh b/install/docker-linux.sh index ebb4d9a..2f1b1e7 100755 --- a/install/docker-linux.sh +++ b/install/docker-linux.sh @@ -16,6 +16,10 @@ do fi done +# Ensure proper file permissions for rootless +chown -R 1000:1000 config.json auth.json data.json uploads share +chmod -R 774 config.json data.json uploads share + # Wait for user to confirm echo "Continuing will run docker-compose. Continue? (Press Ctrl+C to abort)" read -n 1 -s -r -p "Press any key to continue..."