Added xtra chown to ensure correct perms on every container start #57
@ -52,9 +52,10 @@ if [ ! -f "$UPLOADS_HTACCESS" ]; then
|
||||
Require all denied
|
||||
</FilesMatch>
|
||||
EOF
|
||||
chown www-data:www-data "$UPLOADS_HTACCESS"
|
||||
fi
|
||||
|
kawaiipunk marked this conversation as resolved
|
||||
|
||||
chown -R www-data:www-data /var/www/html/wp-content/uploads/
|
||||
|
||||
if [ -n "$@" ]; then
|
||||
"$@"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user
Maybe this line can be deleted, because it's redundant with
chown -Ron/var/www/html/wp-content/uploads/You're right! Just done that.