Re: [vdr] Capabilities

2007-02-18 Thread Patrick Cernko
Bernd Juraschek wrote: Hello, I've problems with my statusleds plugin. If vdr is not running as root all capabilities are dropped - except the one for setting the system time. My plugin wants to set the keyboard leds with the ioctl KDSETLED on /dev/console. Unfortunately this ioctl

Re: [vdr] Capabilities

2007-02-18 Thread Bernd Juraschek
Why not simply document this fact in the installation guide: The plugin must have write access to /dev/console. This is similar to the dvd or vcd plugin which need read/write access to /dev/dvd resp. /dev/cdrom. Hmm - this sounds like a good idea ... On my machine, I added the vdr user to

Re: [vdr] Capabilities

2007-02-18 Thread Patrick Cernko
Bernd Juraschek wrote: I don't know much about linux capabilities, but my feeling is, that they are meant for things not represented by devices (which use the simpler file-permissions model). On my system /dev/console has r/w access for anyone but this is not sufficient. Damn. so much