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 {} + #=================================================