1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/motioneye_ynh.git synced 2024-09-03 19:46:09 +02:00
This commit is contained in:
SolAZDev 2023-09-06 12:57:38 -04:00
parent 30095d135e
commit 39de072402

View file

@ -136,9 +136,9 @@ ynh_add_config --template="../conf/motioneye.conf" --destination="/etc/motioneye
# FIXME: this should be handled by the core in the future
# You may need to use chmod 600 instead of 400,
# for example if the app is expected to be able to modify its own config
chmod 660 "/etc/motioneye/motioneye.conf"
chmod 660 "/etc/motioneye/"
chmod 660 "/var/lib/motioneye"
chmod 664 "/etc/motioneye/motioneye.conf"
chmod 664 "/etc/motioneye/"
chmod 664 "/var/lib/motioneye"
chown $app:www-data "/etc/motioneye/"
chown $app:www-data "/etc/motioneye/motioneye.conf"
chown $app:www-data "/var/lib/motioneye"