diff --git a/scripts/install b/scripts/install index a791578..fd5c8fc 100755 --- a/scripts/install +++ b/scripts/install @@ -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"