diff --git a/src/freedombone-utils-gnusocialtools b/src/freedombone-utils-gnusocialtools index 7f30fa77..c575f914 100755 --- a/src/freedombone-utils-gnusocialtools +++ b/src/freedombone-utils-gnusocialtools @@ -132,6 +132,7 @@ function pleroma_set_background_image_from_url { if [ -d /var/www/${domain_name}/htdocs/static ]; then cp bg_custom.${ext} static/bg_custom.${ext} + chown www-data:www-data static/bg_custom.${ext} sed -i "s|\"background\":.*|\"background\": \"/static/bg_custom.${ext}\",|g" static/config.json fi