From 040f206998fa09dfbe2e956011b9ced44a94a43f Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Fri, 20 May 2022 10:38:37 +0200 Subject: [PATCH] Docker: Remove permission check for storage folder on startup #2334 --- scripts/dist/audit.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/dist/audit.sh b/scripts/dist/audit.sh index 79fe2f579..a10d7c979 100755 --- a/scripts/dist/audit.sh +++ b/scripts/dist/audit.sh @@ -13,10 +13,6 @@ set -e # create directory if not exists mkdir -p "${STORAGE_PATH}" || (echo "Failed creating storage folder \"$STORAGE_PATH\", see $DOC_URL" 1>&2; exit 1) -# check directory permissions -[[ -w "${STORAGE_PATH}" ]] || \ - (echo "Storage folder \"$STORAGE_PATH\" is not writable, see $DOC_URL" 1>&2; exit 1) - # create and delete test file (touch "${STORAGE_PATH}/is-writable" 2>/dev/null && rm "${STORAGE_PATH}/is-writable") || \ (echo "Failed creating test file in storage folder, see $DOC_URL" 1>&2; exit 1)