I have a machine with a few ttyS's on it and can only run minicom as root ("cannot open /dev/ttyS3ermission denied". I chowned them to me and it works fine.
Is that a normal thing to do? any better ideas? Thanks!
Usually not a good idea.
Easier would be to assign a viable group permission
chmod 770 /dev/tty3
chgrp wheel /dev/tty3
Then add your users to the wheel group.
But still not a good idea.
Some common ways to do this is to make minicom suid, or
to create some sudoer users for minicom and sudo
minicom.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.