aboutsummaryrefslogtreecommitdiff
path: root/multimedia/tvheadend/files/dvb.hotplug
diff options
context:
space:
mode:
authorMatthew Hagan <mnhagan88@gmail.com>2022-02-24 09:10:35 +0000
committerRosen Penev <rosenp@gmail.com>2022-02-25 06:08:46 -0800
commitb0d810b2e66683ddab04d94e6c816315aa2ee667 (patch)
treed99074e80ef7d2e7c2a7f7cd4c16291b2cf086c2 /multimedia/tvheadend/files/dvb.hotplug
parent45b8ef28226a6641ffaede9bba94a12c6dc10686 (diff)
tvheadend: correct group permissions for /dev/dvb
Provide group read, write and execute permissions for /dev/dvb, otherwise adapters will not be accessible from tvheadend. Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
Diffstat (limited to 'multimedia/tvheadend/files/dvb.hotplug')
-rw-r--r--multimedia/tvheadend/files/dvb.hotplug4
1 files changed, 2 insertions, 2 deletions
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