From 73a2e98d2e50765528f0246273c291a1d68a1ca6 Mon Sep 17 00:00:00 2001 From: kawaiipunk Date: Tue, 26 May 2026 14:10:22 +0100 Subject: [PATCH] Added xtra chown to ensure correct perms on every container start --- entrypoint.sh.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh.tmpl b/entrypoint.sh.tmpl index 472395c..5db4d07 100644 --- a/entrypoint.sh.tmpl +++ b/entrypoint.sh.tmpl @@ -55,6 +55,8 @@ EOF chown www-data:www-data "$UPLOADS_HTACCESS" fi +chown -R www-data:www-data /var/www/html/wp-content/uploads/ + if [ -n "$@" ]; then "$@" fi