Excellent.
Time to read about udev.
Will do my homework, try a few tests, and will get back with results and,
possibly, more questions :-D
Thank you, everybody for your valuable help (and time).

Best regards,
João

On Mon, Aug 20, 2018 at 2:54 AM Reco <recovery...@gmail.com> wrote:

>         Hi.
>
> On Mon, Aug 20, 2018 at 12:51:24AM -0300, Joao Roscoe wrote:
> > Hmmm...
> >
> > If I create a NIS group (with a high ID), called serial_ports, dhould I
> > just, as root, chgrp /dev/ttyS0 so that it's group is serial_ports ?
>
> You could, and it may even work, but it would be temporary.
> To make it truly work you should write your own udev rule for these (and
> other) devices.
>
> The reason being - udev creates everything under the /dev (system boot).
> Udev changes everything under the /dev (vt switch, user relogins).
>
> In that particular case you should override changes made by
> /lib/udev/rules.d/50-udev-default.rules.
>
> Reco
>
>

Reply via email to