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

permission tests continue

This commit is contained in:
SolAZDev 2023-09-08 18:27:54 -04:00
parent 8f1d2341ce
commit 989bd9518b

View file

@ -176,12 +176,12 @@ popd
# 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
chown motion:motion "/etc/motioneye/"
chown motion:motion "/etc/motioneye/motioneye.conf"
chown motion:motion "/var/lib/motioneye"
chmod 664 "/etc/motioneye/motioneye.conf"
chmod 664 "/etc/motioneye/"
chmod 664 "/var/lib/motioneye"
# chown motion:motion "/etc/motioneye/"
# chown motion:motion "/etc/motioneye/motioneye.conf"
# chown motion:motion "/var/lib/motioneye"
chmod 666 "/etc/motioneye/motioneye.conf"
chmod 666 "/etc/motioneye/"
chmod 666 "/var/lib/motioneye"
ynh_script_progression --message="Starting a systemd service..." --weight=1