reypsj
March 21, 2023, 3:37pm
1
I use a few programs that needs ttyUSB0 and ttyUSB1.
To get access on both I run the commands:
sudo useradd -G dialout username
sudo chown username /dev/ttyUSB0
sudo chown username /dev/ttyUSB1
sudo usermod -a -G dialout username
I used other distros (debian based, red hat based) and works fine!
But, in Arch based distros (I tested a few), on every boot the system “lost” the chown command only in ttyUSB0, then I need to run again the command, and I am not happy with this.
Why this occurs?
dmt
March 21, 2023, 3:44pm
2
1 Like
Tomek
March 21, 2023, 3:44pm
3
This is Ubuntu like way. On Arch family you need add yourself to uucp
group - and that’s all you need.
dmt
March 21, 2023, 3:47pm
5
Add your user to the group then log out and back in.
sudo gpasswd -a $USER uucp
EDIT:
Added a couple of links to my first post.
reypsj
March 21, 2023, 3:51pm
6
I think it works, thanks a lot!
1 Like
system
Closed
March 24, 2023, 5:52am
7
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.