Fix permission in final_path

pull/6/head
Josué Tille 6 years ago
parent f8b2336256
commit b88c7adfec

@ -182,7 +182,8 @@ cp -r ../sources/page $final_path/syncserver/
# SECURE FILES AND DIRECTORIES # 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 # SETUP LOGROTATE

@ -74,7 +74,8 @@ ynh_system_user_create "$app"
# RESTORE USER RIGHTS # 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 # SPECIFIC RESTORATION

@ -190,7 +190,8 @@ cp -r ../sources/page $final_path/syncserver/
# SECURE FILES AND DIRECTORIES # 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 # SETUP LOGROTATE

Loading…
Cancel
Save