Bug#297640: /proc/av7110_ir: Permission denied
Jan Gukelberger
pkg-vdr-dvb-devel@lists.alioth.debian.org
Wed, 02 Mar 2005 01:09:09 +0100
Package: vdr
Version: 1.2.6-6
Severity: normal
With the standard configuration of vdr 1.2.6 I can't use the remote
control of my Technotrend/Hauppauge DVB card because /proc/av7110_ir
belongs to root and is chmod 644:
----------8<-----------8<-----------8<-----------8<----------8<-----------
Feb 26 21:01:09 elessar vdr[9657]: remote-event2: unable to open
'/proc/av7110_ir': Permission denied
Feb 26 21:01:09 elessar vdr[9657]: ERROR: /proc/av7110_ir: Permission
denied
Feb 26 21:01:11 elessar vdr[9657]: ERROR: /proc/av7110_ir: Permission
denied
----------8<-----------8<-----------8<-----------8<----------8<-----------
As /proc permissions are reset on system restart I've added this line to
startvdr() in /etc/init.d/vdr:
----------8<-----------8<-----------8<-----------8<----------8<-----------
mergecommands "reccmds"
+ /bin/chown $USER.$GROUP /proc/av7110_ir
start-stop-daemon --start --quiet \
----------8<-----------8<-----------8<-----------8<----------8<-----------
I'm not sure if the file really has to be opened for writing? Opening it
RDONLY would be possible without system modifications.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8rtai
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages vdr depends on:
ii adduser 3.59 Add and remove users and groups
ii debconf [debconf-2.0] 1.4.30.11 Debian configuration management sy
ii makedev 2.3.1-75 Creates device files in /dev
ii vdr-daemon 1.2.6-6 Server version of Video Disk Recor
ii vdr-kbd 1.2.6-6 Video Disk Recorder for DVB cards
ii vdr-lirc 1.2.6-6 Video Disk Recorder for DVB cards
ii vdr-rcu 1.2.6-6 Video Disk Recorder for DVB cards
-- debconf information excluded