fedora-users October 2011 archive
Main Archive Page > Month Archives  > fedora-users archives
fedora-users: Re: Serial port permissions -

Re: Serial port permissions -

From: Brian Mury <brianmury_at_nospam>
Date: Tue Oct 18 2011 - 16:00:16 GMT
To: users@lists.fedoraproject.org

On Tue, 2011-10-18 at 11:36 -0400, Bob Goodwin wrote:
> How do I determine if I have the right serial port
> permissions, where do I look?

The serial port device should be owned by root, and belong to the
dialout group, with both the owner and the group having read and write
permissions. You can verify this like this:

> ll /dev/ttyS*
crw-rw---- 1 root dialout 4, 64 Oct 18 01:21 /dev/ttyS0
crw-rw---- 1 root dialout 4, 65 Oct 18 00:28 /dev/ttyS1
crw-rw---- 1 root dialout 4, 66 Oct 18 00:28 /dev/ttyS2
crw-rw---- 1 root dialout 4, 67 Oct 18 00:28 /dev/ttyS3
crw-rw---- 1 root dialout 4, 68 Oct 18 01:14 /dev/ttyS4
crw-rw---- 1 root dialout 4, 69 Oct 18 00:29 /dev/ttyS5
crw-rw---- 1 root dialout 4, 70 Oct 18 01:28 /dev/ttyS6
crw-rw---- 1 root dialout 4, 71 Oct 18 01:10 /dev/ttyS7

Yeah, I've got a lot of serial ports! :-)
The column that says "root" is the owner.
The column that says "dialout" is the group.
The second and third characters are the owner read/write permissions (r
or w indicates permission, - indicates no permission).
The fifth and sixth characters are the group read/write permissions.

You can run "system-config-users" as root, and add your user account to
the dialout group. You'll need to log that user out and back in after
making that change.

Brian

-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines