Browse Source

Permissions

Bob Mottram 8 years ago
parent
commit
a3581a4ead
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      src/freedombone-app-gnusocial
  2. 1
    1
      src/freedombone-app-postactiv

+ 1
- 1
src/freedombone-app-gnusocial View File

537
     chmod g+w /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs
537
     chmod g+w /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs
538
     chmod a+w /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/avatar
538
     chmod a+w /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/avatar
539
     chmod a+w /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/file
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
     chmod +x /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/scripts/maildaemon.php
541
     chmod +x /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/scripts/maildaemon.php
542
 
542
 
543
     function_check gnusocial_create_database
543
     function_check gnusocial_create_database

+ 1
- 1
src/freedombone-app-postactiv View File

381
     chmod g+w /var/www/$POSTACTIV_DOMAIN_NAME/htdocs
381
     chmod g+w /var/www/$POSTACTIV_DOMAIN_NAME/htdocs
382
     chmod a+w /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/avatar
382
     chmod a+w /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/avatar
383
     chmod a+w /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/file
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
     chmod +x /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/scripts/maildaemon.php
385
     chmod +x /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/scripts/maildaemon.php
386
 
386
 
387
     function_check postactiv_create_database
387
     function_check postactiv_create_database