1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ffsync_ynh.git synced 2024-09-03 18:26:38 +02:00

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