/dev/ttyS0 permission error

Jay Cliburn jacliburn at bellsouth.net
Sun Dec 3 15:35:37 UTC 2006


Mikkel L. Ellertson wrote:
> The difference is
> probably in the settings of console permissions. (man console.perms)
[snip]
> Now, if you want the user that is logged into the console to be able
> to use the serial ports, you could probably do something like create
> a file /etc/security/console.perms.d/10-serial.perms with something
> like:
> 
> # Serial port rules.
> <serial>=/dev/ttyS*
> 
> <console>  0660 <serial>     0660 root.uucp
> 
> If you just want to control /dev/ttyS0 then change ttyS* to ttyS0.

I looked at console.perms after seeing a reference to it during my web search. 
In FC6, anyway, there's no rule for serial ports.

[jcliburn at osprey ~]$ egrep ^[^#] /etc/security/console.perms
<console>=tty[0-9][0-9]* vc/[0-9][0-9]* :[0-9]\.[0-9] :[0-9]
<xconsole>=:[0-9]\.[0-9] :[0-9]

Is there a rule governing serial ports in FC5?




More information about the fedora-list mailing list