Bug 465003

Summary: wrong permissions at /dev/sr0
Product: [openSUSE] openSUSE 11.1 Reporter: Markus Graf <graf>
Component: SecurityAssignee: Security Team bot <security-team>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: 64bit   
OS: openSUSE 11.1   
Whiteboard:
Found By: Component Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Markus Graf 2009-01-09 20:13:35 UTC
The normal user can not write with k3b to /dev/sr0.
As root it work fine.
Here the print out from k3b (german)
markus@hot:~/Documents> k3b
markus@hot:~/Documents> (K3bDevice::HalConnection) initializing HAL >= 0.5
Mapping udi /org/freedesktop/Hal/devices/storage_model_CD_DVDW_SH_S182M to device /dev/sr0
/dev/sr0 resolved to /dev/sr0
(K3bDevice::Device) could not open device /dev/sr0 for reading
                    (Keine Berechtigung)
could not open device /dev/sr0 (Keine Berechtigung)
/dev/sr0 resolved to /dev/sr0
(K3bDevice::Device) could not open device /dev/sr0 for reading
                    (Keine Berechtigung)
could not open device /dev/sr0 (Keine Berechtigung)
Devices:
------------------------------
removing udi /org/freedesktop/Hal/devices/volume_empty_cd_r
adding udi   /org/freedesktop/Hal/devices/volume_label_SU1110_001



Also other programs have problems to access this device

best regards 
Markus
Comment 1 Markus Graf 2009-01-09 20:34:37 UTC
This bug is also discripte with Nr. 408252

Work around is:
put the user in the group disk.
Comment 2 Marcus Meissner 2009-01-09 21:07:42 UTC
no, do not add it to the group disk, this will break system security!

the ACL handling in hal was broken shortly before release. we are working on fixing it.

*** This bug has been marked as a duplicate of bug 408252 ***