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:
parent
8f1d2341ce
commit
989bd9518b
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue