[opensuse-factory] openSUSE11.3_MS1 Policy kit problem I Think
I installed MS1 a couple of weeks ago. Since then the user cannot access the DVD/CD drives (2) on /dev/sr0 and sr1. I checked permissions and they look the same as my 11.2 installation. On sr0 and sr1 advance permissions show the user as a named user and a Mask permission. brw-rw----+ 1 root cdrom 11, 0 2010-02-17 10:03 /dev/sr0 brw-rw----+ 1 root cdrom 11, 0 2010-02-17 10:03 /dev/sr1 for both sr0 & 1. Mask 660 rw- Named User finemanruss 660 rw- cdrom &cdrom1 root:cdrom Link for owner, group and other. cdrw & cdrw1 root:cdrom Link for owner, group and other. dvd & dvd1 root:cdrom Link for owner, group and other. dvdrw & dvdrw1 root:cdrom Link for owner, group and other. 11.1 Fixes: In 11.1 there was a fix to the PolicyKit as temporary fix until upgrade came out: /usr/share/PolicyKit/policy/org.freedesktop.hal.device-access.policy change <action id="org.freedesktophal.device-access.removable-block"> Then a change is made. Another way was to make user of group cdrom and add a rule to /etc/udev/rules.d/99-my.rules file. KERNEL =="sr*[0-9]", GROUP="cdrom", Mode 0660" 11.2 worked out of box by just adding user to group cdrom, audio, Video. and disk. Not sure all are necessary. PolicyKit policy and rules.d entry to not exist on 11.3 by those names. On 11.3 user is member of groups mentioned for 11.2. In process of downloading 11.3 MS2 to see if fix is there? Show I completely delete MS1 or update? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Wed, 2010-02-17 at 15:07 -0800, upscope wrote:
I installed MS1 a couple of weeks ago. Since then the user cannot access the DVD/CD drives (2) on /dev/sr0 and sr1. I checked permissions and they look the same as my 11.2 installation. On sr0 and sr1 advance permissions show the user as a named user and a Mask permission.
brw-rw----+ 1 root cdrom 11, 0 2010-02-17 10:03 /dev/sr0 brw-rw----+ 1 root cdrom 11, 0 2010-02-17 10:03 /dev/sr1
Works fine here, and worked in MS1 too, there have been no changes in that area: $ getfacl /dev/sr0 # file: dev/sr0 # owner: root # group: cdrom user::rw- user:kay:rw- group::rw- mask::rw- other::--- Cdroms have always the group cdrom, no such rule should be needed. Default, non-editable udev rules are in /lib/udev, not in /etc/udev. And the user ACL is appplied by udev. HAL/PolicyKit is no longer used. Kay -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (2)
-
Kay Sievers
-
upscope