diff --git a/multimedia/tvheadend/files/dvb.hotplug b/multimedia/tvheadend/files/dvb.hotplug index 70b80019d..be7475dab 100644 --- a/multimedia/tvheadend/files/dvb.hotplug +++ b/multimedia/tvheadend/files/dvb.hotplug @@ -1,7 +1,7 @@ #!/bin/sh case "$ACTION" in add) - chown -R root:dvb /dev/dvb/* - chmod -R 660 /dev/dvb/* + chgrp -R dvb /dev/dvb/* + chmod -R g+rwX /dev/dvb/* ;; esac diff --git a/multimedia/tvheadend/files/tvheadend.init b/multimedia/tvheadend/files/tvheadend.init index 770d6a968..9bf08aa45 100644 --- a/multimedia/tvheadend/files/tvheadend.init +++ b/multimedia/tvheadend/files/tvheadend.init @@ -80,7 +80,8 @@ start_service() { ensure_config_exists procd_open_instance procd_set_param file /etc/config/tvheadend - chown -R root:$TVH_GROUP /dev/dvb/* + chgrp -R $TVH_GROUP /dev/dvb/* + chmod -R g+rwX /dev/dvb/* procd_set_param command "$PROG" -B -u $TVH_USER -g $TVH_GROUP load_uci_config procd_close_instance