[Bug 812662] New: Smb4K prompts for root password when mounting or unmounting although the policy says it shouldn't
https://bugzilla.novell.com/show_bug.cgi?id=812662 https://bugzilla.novell.com/show_bug.cgi?id=812662#c0 Summary: Smb4K prompts for root password when mounting or unmounting although the policy says it shouldn't Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: Other OS/Version: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Security AssignedTo: security-team@suse.de ReportedBy: gg.novell@grim.se QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 Whenever I try to mount or unmount a share, I get prompted for the root password. The local policy is set to allow this without prompting. Contents of /var/lib/polkit-1/localauthority/10-vendor.d/de.berlios.smb4k.mounthelper.mount.pkla: [de.berlios.smb4k.mounthelper.mount] Identity=unix-user:gugrim; Action=de.berlios.smb4k.mounthelper.mount ResultAny=yes ResultInactive=yes ResultActive=yes Reproducible: Always Steps to Reproduce: 1. With System Settings/Actions Policy ensure that se.berlios/smb4k/mounthelper/Mount action has a local authorization that allows the mount. 2. Start SMB4K 2. Attempt to mount some Samba share. 3. Actual Results: A dialog pops up asking for the root password. Expected Results: The share should be mounted without prompting for the root password. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=812662 https://bugzilla.novell.com/show_bug.cgi?id=812662#c1 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |meissner@suse.com Resolution| |UPSTREAM --- Comment #1 from Marcus Meissner <meissner@suse.com> 2013-04-01 08:42:43 UTC --- localauthority style overrides are not supported anymore by polkit in 12.3. you will need to write a javascript hook. (or override it via /etc/polkit-default-privs.local butthis would not allow to fix it to one user) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=812662 https://bugzilla.novell.com/show_bug.cgi?id=812662#c2 Gunnar Grim <gg.novell@grim.se> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|UPSTREAM | --- Comment #2 from Gunnar Grim <gg.novell@grim.se> 2013-04-01 09:35:32 UTC --- I see, but the file "/usr/share/polkit-1/actions/de.berlios.smb4k.mounthelper.policy" included in the smb4k package says that mounting and unmounting should be a allowed. If I understand this correctly, this means that a local policy override shouldn't be necessary. I think that installing smb4k should be enough and that mounting and unmounting should work for a user without them having to know or enter the root password. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=812662 https://bugzilla.novell.com/show_bug.cgi?id=812662#c3 Keks Dose <cookie170@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cookie170@web.de --- Comment #3 from Keks Dose <cookie170@web.de> 2013-04-08 13:22:35 UTC --- I've got the same issue and this is very annoying, because a clean s2ram depends on umount of smb4k-connections. @Marcus Meissner: Would you please give a hint, how to override via /etc/polkit-default-privs.local ? I'm a user, who is unfortunately not able to write a java script hook. Thank you! Regards, Alexander -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=812662 https://bugzilla.novell.com/show_bug.cgi?id=812662#c4 --- Comment #4 from Keks Dose <cookie170@web.de> 2013-04-22 13:01:02 UTC --- A solution has been described here: http://www.grim.se/guide/smb4k-policy -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=812662 Johannes Segitz <jsegitz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |jsegitz@novell.com Resolution|--- |FIXED --- Comment #5 from Johannes Segitz <jsegitz@novell.com> --- Please use the fix suggested in comment #4 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com