Bug 118370

Summary: wrong permissions on ttyS0
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Robert Simai <robert.simai>
Component: BasesystemAssignee: Ludwig Nussel <lnussel>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: security-team
Version: RC 4   
Target Milestone: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Robert Simai 2005-09-22 09:12:28 UTC
After upgrading 9.3 -> 10.0 the permissions for ttyS0 show up like this:

robert@theano:~> l /dev/ttyS0 
crw-rw----  1 root uucp 4, 64 2005-09-22 09:51 /dev/ttyS0

This makes my Palm connected via serial cable unusable. I'm neither in the group
uucp nor I am root. I used KDM to log in as a local user.

Let me know if you need further information.
Comment 1 Dr. Werner Fink 2005-09-22 09:53:28 UTC
For security reasons the serial line is only for the system user
or the uucp subsystem available.  You may add an own entry for
the line /dev/ttyS0 to /etc/permissions.local and run SuSEconfig.
Comment 2 Robert Simai 2005-09-22 10:11:22 UTC
It's not a problem for me, it's with regards to inexperienced users. 

The default is omitting the fact that there are users who want to connect a
serial device and therefore should be changed. At least there has to be a
notification while installation or whatever. For all I care write it to the
release notes if it's not possible to change the default.
Comment 3 Hubert Mantel 2005-09-27 11:10:48 UTC
Andreas, who can/will add this to the release notes? Btw, I think changing the
permissions would need to be done in udev nowadays,,,
Comment 4 Ludwig Nussel 2005-09-27 11:19:43 UTC
A user never had access to ttyS0 by default. So there is no change compared to  
9.3 and previous. 
Comment 5 Andreas Jaeger 2005-09-27 11:47:55 UTC
So, what is the best solution to do here?
Comment 6 Ludwig Nussel 2005-09-27 11:56:22 UTC
An SDB article maybe. The article could explain how to adjust permissions 
using udev rules or how to involve resmgr to do it. 
Comment 7 Robert Simai 2005-09-27 12:41:51 UTC
OK, even if I don't understand this default, it seems to be a proper solution.

Maybe you can just write this in short to me and I'll make an article out of it?
Comment 8 Heiko Heerlein 2005-10-25 04:44:47 UTC
Same wit an external modem on /dev/ttyS1: During installation Test ok, but later no access...
Comment 9 Heiko Heerlein 2005-10-26 04:45:24 UTC
After new installation I checked the permissions (using an external modem on /dev/ttyS1 for internet...) and it seems that kinternet doesn't and kppp needs full access to the serial port. Maybe I can't use them both together...
Comment 10 Marcus Meissner 2006-03-29 13:57:23 UTC
what to do here?

resmgr addition and then ACL settings would help if the user really needs access.
Comment 11 Ludwig Nussel 2006-03-29 14:20:43 UTC
I sent Robert instructions so he can make an SDB article but forgot to close the bug.