mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix log permission issue for yunohost-portal-api
This commit is contained in:
parent
bd564e6a53
commit
76eba6fc88
1 changed files with 4 additions and 0 deletions
|
@ -184,6 +184,10 @@ do_post_regen() {
|
|||
chown ynh-portal:root /etc/yunohost/.ssowat_cookie_secret
|
||||
chmod 400 /etc/yunohost/.ssowat_cookie_secret
|
||||
|
||||
touch /var/log/yunohost-portalapi.log
|
||||
chown ynh-portal:root /var/log/yunohost-portalapi.log
|
||||
chmod 600 /var/log/yunohost-portalapi.log
|
||||
|
||||
######################
|
||||
# Enfore permissions #
|
||||
######################
|
||||
|
|
Loading…
Add table
Reference in a new issue