浏览代码

Permissions

Bob Mottram 8 年前
父节点
当前提交
a3581a4ead
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      src/freedombone-app-gnusocial
  2. 1
    1
      src/freedombone-app-postactiv

+ 1
- 1
src/freedombone-app-gnusocial 查看文件

@@ -537,7 +537,7 @@ function install_gnusocial_main {
537 537
     chmod g+w /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs
538 538
     chmod a+w /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/avatar
539 539
     chmod a+w /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/file
540
-    chown www-data:www-data /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs
540
+    chown -R www-data:www-data /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs
541 541
     chmod +x /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/scripts/maildaemon.php
542 542
 
543 543
     function_check gnusocial_create_database

+ 1
- 1
src/freedombone-app-postactiv 查看文件

@@ -381,7 +381,7 @@ function install_postactiv_main {
381 381
     chmod g+w /var/www/$POSTACTIV_DOMAIN_NAME/htdocs
382 382
     chmod a+w /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/avatar
383 383
     chmod a+w /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/file
384
-    chown www-data:www-data /var/www/$POSTACTIV_DOMAIN_NAME/htdocs
384
+    chown -R www-data:www-data /var/www/$POSTACTIV_DOMAIN_NAME/htdocs
385 385
     chmod +x /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/scripts/maildaemon.php
386 386
 
387 387
     function_check postactiv_create_database