Bug 158338 - /dev/rtc is not readable by user
Summary: /dev/rtc is not readable by user
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Other (show other bugs)
Version: Beta 7
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Kay Sievers
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-15 17:57 UTC by Ladislav Michnovic
Modified: 2006-04-13 10:38 UTC (History)
5 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ladislav Michnovic 2006-03-15 17:57:22 UTC
Some applications are complaining about this.
Is it intended?
 ll /dev/rtc 
crw-rw---- 1 root audio 10, 135 2006-03-04 21:11 /dev/rtc
Comment 2 Hannes Reinecke 2006-03-16 16:14:58 UTC
Kay Sievers. /dev is maintained by the udev package now.
Comment 3 Kay Sievers 2006-03-16 16:21:46 UTC
I have no idea. Ludwig, any idea?
Comment 4 Ludwig Nussel 2006-03-16 16:34:51 UTC
The permissions of /dev/rtc in fact used to be 600 root:root. So the first question must not be "why can't user's read it?" but "why did you change it to 660 root:audio?" :-) Note that the audio group is unused by default.

I cannot judge whether it's safe to open this device to users. It's probably possible to DoS the machine, I don't know. IIRC there is some proc file where you can tune what the user is able to set though.
Comment 5 Kay Sievers 2006-03-17 03:07:19 UTC
Hmm, so can we change it to 664, or not? Who can answer that?
Comment 6 Marcus Meissner 2006-03-17 08:40:46 UTC
and what actual programs want it?
Comment 7 Ladislav Michnovic 2006-03-27 11:06:51 UTC
For example mplayer is complaining. I did not changed the permissions of /dev/rtc manually.
(Mplayer is not distributed within Suse Linux.)
Comment 8 Kay Sievers 2006-04-13 09:28:25 UTC
Marcus, do we want/should we have other permissions as the current root:root:600?
Comment 9 Marcus Meissner 2006-04-13 10:35:29 UTC
No. root:root 0600 it stays for now
Comment 10 Kay Sievers 2006-04-13 10:38:00 UTC
Thanks!