Merge pull request 'Added xtra chown to ensure correct perms on every container start' (#57) from kawaiipunk/wordpress:main into main
Reviewed-on: https://git.coopcloud.tech/coop-cloud/wordpress/pulls/57
This commit is contained in:
+2
-1
@@ -52,9 +52,10 @@ if [ ! -f "$UPLOADS_HTACCESS" ]; then
|
|||||||
Require all denied
|
Require all denied
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
EOF
|
EOF
|
||||||
chown www-data:www-data "$UPLOADS_HTACCESS"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
chown -R www-data:www-data /var/www/html/wp-content/uploads/
|
||||||
|
|
||||||
if [ -n "$@" ]; then
|
if [ -n "$@" ]; then
|
||||||
"$@"
|
"$@"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user