Re: serial port (USB) permissions
- Reply: Johan Helsingius : "Re: serial port (USB) permissions"
- In reply to: Carl Johnson : "Re: serial port (USB) permissions"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Aug 2025 06:41:29 UTC
On 06/08/2025 20:38, Carl Johnson wrote: > Johan Helsingius <julf@Julf.com> writes: > >> On 06/08/2025 17:02, Marco Moock wrote: >>> ls -la /dev/ttyU0 >> >> crw------- 1 root wheel 0x19f Aug 6 16:24 /dev/ttyU0 >> >> (before I did chmod a+rx to get things to work) > > Look at 'man devfs.conf'. It has similar examples that show how to > automate that. I have the following in my /etc/devfs.conf: > own ttyU0 root:dialer > perm ttyU0 660 > I also have my user ID in the dialer group in /etc/group. > devfs.conf only works for devices that are already attached at boot time. The OP specifically talked about plugging in a USB adapter which could happen after boot, which is what devfs.rules is for. -- We should have listened when the modems screamed at us.