vdr-plugin-alcd: does not change permissions of /dev/ttyS0

Tobias Grimm tobias.grimm at e-tobi.net
Mon Feb 5 00:50:15 CET 2007


Hello Patrick,

Patrick C. F. Ernzer wrote:

> dev/ttyS0 belongs to the group dialout. For the alcd plugin to work, vdr must be able to write to the divice.

>   - make vdr part of the dialout group (not ideal in my eyes)
>   - edit udev config on installation to:
>     + make the devnode 777 (not ideal in my eyes)
>     + make all of subsystem tty belong to the vdr group
>      (acceptable only if all Activy variants have no serial port.
>       I've done this on my Activy 300 as it does not have any other serial ports)
>     + only change ttyS0 to belong to the group vdr
>       (ideal but I did not bother)


Thanks for reporting this!

I think none of these solutions is ideal. It's hard for packages to mess with
access rights to certain resources. Espeacially in this case, where only the
alcd plugin requires access to ttyS0, but it's vdr that needs this access right.
When modifying access rights you always have to think about, how to remove them
in a secure way, when the package is uninstalled.

I would vote for adding a note to README.Debian and leave it to the admin to
configure the access rights.

bye

Tobias


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 544 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vdr-dvb-devel/attachments/20070205/77defdf3/signature.pgp


More information about the pkg-vdr-dvb-devel mailing list