From 489c4824958e040017dc1ab95b873b939b0bafe5 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Mon, 10 May 2021 21:54:33 +0200 Subject: [PATCH] change permission in www directory --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 28232f8..5f8d061 100644 --- a/scripts/install +++ b/scripts/install @@ -112,7 +112,7 @@ find $final_path/include -type d -exec chmod 500 {} + find $final_path/include -type f -exec chmod 400 {} + find $final_path/data -type d -exec chmod 700 {} + find $final_path/data -type f -exec chmod 600 {} + -find /var/www/garradin/www -type d -exec chmod 755 {} + +find /var/www/garradin/www -type d -exec chmod 505 {} + find /var/www/garradin/www -type f -exec chmod 644 {} + #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 0341ddf..d251201 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -220,7 +220,7 @@ find $final_path/include -type d -exec chmod 500 {} + find $final_path/include -type f -exec chmod 400 {} + find $final_path/data -type d -exec chmod 700 {} + find $final_path/data -type f -exec chmod 600 {} + -find /var/www/garradin/www -type d -exec chmod 755 {} + +find /var/www/garradin/www -type d -exec chmod 505 {} + find /var/www/garradin/www -type f -exec chmod 644 {} + #=================================================