https://bugzilla.novell.com/show_bug.cgi?id=770041 https://bugzilla.novell.com/show_bug.cgi?id=770041#c0 Summary: PolicyKit pkla rules doesn't honour unix-group, only unix-user Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: i586 OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: joerg.steffens@dass-it.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0 pkla rules that uses unix-group are not evaluated correctly. The same rule with unix-user works fine. Reproducible: Always Steps to Reproduce: 1. create a group named "noaccess" and add a user to that group, eg. testuser1 2. create a pkla file, e.g. /etc/polkit-1/localauthority/30-site.d/org.freedesktop.udisks.filesystem-mount.pkla with following contains: [org.freedesktop.udisks.filesystem-mount] Identity=unix-group:noaccess Action=org.freedesktop.udisks.filesystem-mount ResultAny=no ResultInactive=no ResultActive=no 3. inseert a USB storage device Actual Results: The storage device gets mounted. Expected Results: When trying to mount the storage device, an error message should appear. When using the same rule file, but add a unix-user to it, it works for this user: /etc/polkit-1/localauthority/30-site.d/org.freedesktop.udisks.filesystem-mount.pkla: [org.freedesktop.udisks.filesystem-mount] Identity=unix-user:testuser1 Action=org.freedesktop.udisks.filesystem-mount ResultAny=no ResultInactive=no ResultActive=no All the default rule are using only unix-group:*, -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.