diff --git a/entrypoint.sh.tmpl b/entrypoint.sh.tmpl index 13db3cc..6548983 100644 --- a/entrypoint.sh.tmpl +++ b/entrypoint.sh.tmpl @@ -54,7 +54,7 @@ if [ ! -f "$UPLOADS_HTACCESS" ]; then EOF fi -chown -R www-data:www-data /var/www/html/wp-content/ +chown -R --from=root:root www-data:www-data /var/www/html/wp-content/ if [ -n "$@" ]; then "$@"