From c8b4887f6e5d785c80077c1b4e8e2aec60a1fd61 Mon Sep 17 00:00:00 2001 From: Sem <86064734+justSem@users.noreply.github.com> Date: Sat, 2 Apr 2022 21:39:48 +0200 Subject: [PATCH] Update extra/entrypoint.sh Co-authored-by: Adam Stachowicz --- extra/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/entrypoint.sh b/extra/entrypoint.sh index 29c866872..54dbfb7f5 100644 --- a/extra/entrypoint.sh +++ b/extra/entrypoint.sh @@ -29,7 +29,7 @@ files_ownership () { echo "File permissions incorrect. Attempting to fix." find /app/data -type f -exec chmod 640 {} \; - #Re-run the check + # Re-run the check if [ $(stat -c%a /app/data/* | head -n 1) != 640 ]; then echo "ERROR: Failed to set file permissions. Please run 'sudo find /path/to/container/volume -type f chmod 640 {} \;' to resolve." exit 1