Merge pull request 'Added xtra chown to ensure correct perms on every container start' (#57) from kawaiipunk/wordpress:main into main
Some checks failed
continuous-integration/drone/push Build is failing

Reviewed-on: #57
This commit is contained in:
2026-05-26 17:10:01 +00:00

View File

@ -52,9 +52,10 @@ if [ ! -f "$UPLOADS_HTACCESS" ]; then
Require all denied
</FilesMatch>
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