소스 검색

Ownership of background image

Bob Mottram 7 년 전
부모
커밋
dc2c19e73f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      src/freedombone-utils-gnusocialtools

+ 1
- 0
src/freedombone-utils-gnusocialtools 파일 보기

@@ -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