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
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #57
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user