Re: Permissions for /dev/ttyS0
Barry Jackson <zen25000-1HOZaDBbGgxaa/[email protected]> Sat, 30 Apr 2011 00:36:12 +0100
| Newsgroups | gmane.linux.mandrake.expert |
|---|---|
| Message-ID | <[email protected]> |
On 17/04/11 14:29, Angelo Naselli wrote: > In data venerdì 15 aprile 2011 18:34:12, Renaud (Ron) Olgiati ha scritto: >> The system keeps resetting those to 660, owner root. >> >> How can I stop this, so a user can use the com port without having each >> time to su and chmod to 666 ? > I'm almost sure i've changed something in udev rules in past, but > I believe the right way is to give users that have to manage ttyS0 the > right rights. > Check the group that the device belongs to and add it to those users, > that should help. > For instance in my case: > [angelo@gandalf ~]$ ll /dev/ttyS0 > crw-rw---- 1 root dialout 4, 64 2011-04-17 15:08 /dev/ttyS0 > [angelo@gandalf ~]$ groups > angelo [...] dialout [...] > > Cheers, Yes IIRC I just added myself to the dialout group when I had this problem.