Re: /dev/ttySx problems... solved

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeff Vian wrote:
> On Fri, 2006-11-10 at 09:28 -0500, Gene Heskett wrote:
>> On Friday 10 November 2006 06:59, stan mcintosh wrote:
>>> Gene Heskett wrote:
>>>> selinux is set permissive, and an ls -l of /dev/ttyS* show this:
>>>>
>>>> crw-rw---- 1 root uucp 4, 64 Nov  9 16:35 /dev/ttyS0
>>>> crw------- 1 root root 4, 65 Nov  9 16:35 /dev/ttyS1
>>>> crw------- 1 root root 4, 66 Nov  9 16:35 /dev/ttyS2
>>>> crw------- 1 root root 4, 67 Nov  9 16:35 /dev/ttyS3
>>> Cool use of your serial port.  Have you gone into your /dev directory
>>> and 'chmod o+rw ttyS*' as root?
>>>
>>> If this is too much of a noob approach, then I'm busted ;>)
>>>
>>> My privileges are:
>>> [root@localhost dev]# ls -l ttyS*
>>> crw-rw-rw- 1 root uucp 4, 64 Nov  9 19:29 ttyS0
>>> crw-rw-rw- 1 root uucp 4, 65 Nov  9 19:31 ttyS1
>>> crw-rw-rw- 1 root uucp 4, 66 Nov  9 14:13 ttyS2
>>> crw-rw-rw- 1 root uucp 4, 67 Nov  9 14:13 ttyS3
>>>
>>> Regards,
>>> stan
>> Ok, tried that, got this:
>> [root@coyote dev]# ls -l ttyS*
>> crw-rw-rw- 1 root uucp 4, 64 Nov  9 16:35 ttyS0
>> crw----rw- 1 root root 4, 65 Nov  9 16:35 ttyS1
>> crw----rw- 1 root root 4, 66 Nov  9 16:35 ttyS2
>> crw----rw- 1 root root 4, 67 Nov  9 16:35 ttyS3
>>
> 
> Stan's suggestion only changes the other permissions.  You may want to
> run it as chmod +rw /dev/ttyS?  to give the permissions to user, group,
> and other.
> 
One other thing to keep in mind - chances are the changes will not
stick. If you are using udev, it will reset them when you reboot.
You may also want to check
/etc/security/console.perms.d/50-default.perms to see if it is set
to manage serial port permissions. If so, it will overwrite the
permissions every time the "owner" of the console changes.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux