1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00

Fix files permissions - allow to login after a restore

Fix #57
This commit is contained in:
lapineige 2018-03-05 23:40:00 +01:00 committed by GitHub
parent 175e961e9d
commit 03b2df0c25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,8 @@ ynh_system_user_create "$app"
#================================================= #=================================================
chown -R root:root "$final_path" chown -R root:root "$final_path"
chown -R "$app" "$final_path"/{data,plugins} chown -R "$app" "$final_path"/{data,plugins,sessions}
chmod -R 700 "$final_path"/sessions
#================================================= #=================================================
# RESTORE THE PHP-FPM CONFIGURATION # RESTORE THE PHP-FPM CONFIGURATION