Remove useless user rights

This commit is contained in:
Jean-Baptiste Holcroft
2017-11-19 13:46:34 +01:00
parent 333e0973e6
commit 23645f9f33
7 changed files with 13 additions and 17 deletions

View File

@@ -74,9 +74,7 @@ ynh_system_user_create "$app"
# RESTORE USER RIGHTS
#=================================================
chown "$app":"$app" -R "$final_path"
find "$final_path"/ -type d -exec chmod 2755 {} \;
find "$final_path"/ -type f -exec chmod g+r,o+r {} \;
# no need, keep the default root:root
#=================================================
# SPECIFIC RESTORATION