Re: serial port (USB) permissions

From: Carl Johnson <carlj_at_peak.org>
Date: Wed, 06 Aug 2025 21:38:04 UTC
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.

-- 
Carl Johnson		carlj@peak.org