From 07874d9241e9b8c070a18a3bbba130f41269899b Mon Sep 17 00:00:00 2001 From: Dedy Martadinata S Date: Sat, 20 May 2023 11:13:09 +0700 Subject: [PATCH] Revert https://github.com/Tzahi12345/YoutubeDL-Material/commit/142d708ee3ca90601254785332f9cf4b98c2e896 It become fail to set anything --- backend/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/entrypoint.sh b/backend/entrypoint.sh index 87bb620..aabfe36 100755 --- a/backend/entrypoint.sh +++ b/backend/entrypoint.sh @@ -10,7 +10,7 @@ fi # chown current working directory to current user if [ "$*" = "$CMD" ] && [ "$(id -u)" = "0" ]; then - find . \! -user "$UID" -exec chown "$UID:$GID" '{}' + || echo "WARNING! Could not change directory ownership. If you manage permissions externally this is fine, otherwise you may experience issues when downloading or deleting videos." + find . \! -user "$UID" -exec chown "$UID:$GID" -R '{}' + || echo "WARNING! Could not change directory ownership. If you manage permissions externally this is fine, otherwise you may experience issues when downloading or deleting videos." exec gosu "$UID:$GID" "$0" "$@" fi