Explorar el Código

Ownership of background image

Bob Mottram hace 7 años
padre
commit
dc2c19e73f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      src/freedombone-utils-gnusocialtools

+ 1
- 0
src/freedombone-utils-gnusocialtools Ver fichero

@@ -132,6 +132,7 @@ function pleroma_set_background_image_from_url {
132 132
 
133 133
         if [ -d /var/www/${domain_name}/htdocs/static ]; then
134 134
             cp bg_custom.${ext} static/bg_custom.${ext}
135
+            chown www-data:www-data static/bg_custom.${ext}
135 136
             sed -i "s|\"background\":.*|\"background\": \"/static/bg_custom.${ext}\",|g" static/config.json
136 137
         fi
137 138