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:
parent
f8b2336256
commit
b88c7adfec
3 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue