Fix permission in final_path

This commit is contained in:
Josué Tille 2018-08-22 20:49:19 +02:00
parent f8b2336256
commit b88c7adfec
3 changed files with 6 additions and 3 deletions

View File

@ -182,7 +182,8 @@ cp -r ../sources/page $final_path/syncserver/
# SECURE FILES AND DIRECTORIES
#=================================================
# no need, keep the default root:root
chown $app -R $final_path
chmod u=rwX,g=rX,o= -R $final_path
#=================================================
# SETUP LOGROTATE

View File

@ -74,7 +74,8 @@ ynh_system_user_create "$app"
# RESTORE USER RIGHTS
#=================================================
# no need, keep the default root:root
chown $app -R $final_path
chmod u=rwX,g=rX,o= -R $final_path
#=================================================
# SPECIFIC RESTORATION

View File

@ -190,7 +190,8 @@ cp -r ../sources/page $final_path/syncserver/
# SECURE FILES AND DIRECTORIES
#=================================================
# no need, keep the default root:root
chown $app -R $final_path
chmod u=rwX,g=rX,o= -R $final_path
#=================================================
# SETUP LOGROTATE