From a3581a4ead0ca3d6003e229066dbcf8c98844a55 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 4 Dec 2016 13:51:25 +0000 Subject: [PATCH] Permissions --- src/freedombone-app-gnusocial | 2 +- src/freedombone-app-postactiv | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-app-gnusocial b/src/freedombone-app-gnusocial index dadd34f0..addaa549 100755 --- a/src/freedombone-app-gnusocial +++ b/src/freedombone-app-gnusocial @@ -537,7 +537,7 @@ function install_gnusocial_main { chmod g+w /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs chmod a+w /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/avatar chmod a+w /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/file - chown www-data:www-data /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs + chown -R www-data:www-data /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs chmod +x /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/scripts/maildaemon.php function_check gnusocial_create_database diff --git a/src/freedombone-app-postactiv b/src/freedombone-app-postactiv index 017bc7d5..f80bf728 100755 --- a/src/freedombone-app-postactiv +++ b/src/freedombone-app-postactiv @@ -381,7 +381,7 @@ function install_postactiv_main { chmod g+w /var/www/$POSTACTIV_DOMAIN_NAME/htdocs chmod a+w /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/avatar chmod a+w /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/file - chown www-data:www-data /var/www/$POSTACTIV_DOMAIN_NAME/htdocs + chown -R www-data:www-data /var/www/$POSTACTIV_DOMAIN_NAME/htdocs chmod +x /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/scripts/maildaemon.php function_check postactiv_create_database