Bug 533246

Summary: Dolphin error opening partitions
Product: [openSUSE] openSUSE 11.2 Reporter: Daniele Tombolini <kailed>
Component: KDE4 WorkspaceAssignee: E-mail List <kde-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P2 - High CC: vegeek, wamrfixit
Version: Milestone 5   
Target Milestone: ---   
Hardware: PC   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Daniele Tombolini 2009-08-21 12:41:47 UTC
User-Agent:       Mozilla/5.0 (compatible; Konqueror/4.2; Linux) KHTML/4.2.4 (like Gecko) SUSE

Two hd, sda->11.1, sdb->11.2 M5
On 11.1 dolphin show (panel on left side) all partitions from sdb, on 11.2, all partitions from sda.

If you click on one them an error appear:
org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.storage.mount-fixed auth_admin_keep_always

Dolphin should ask for root's password and let user accessing partition in RW.

If this is not possible, hide all partitions to avoid confusion..

I think that this bug is in some way related to #340723

kde-4.2.* on 11.1 and 4.3 on 11.2



Reproducible: Always

Steps to Reproduce:
1.Start Dolphin
2.click on partition/volume
3. see the error
Actual Results:  
error

Expected Results:  
ask for root's password and let user opening partition
Comment 1 Daniele Tombolini 2009-08-23 16:22:51 UTC
Well, missing/incomplete integration with policykit.
http://bugs.kde.org/show_bug.cgi?id=179678

my workaround: changed policy in /usr/share/PolicyKit/policy/org.freedesktop.hal.storage.policy for fixed-storage.

allow_active -> yes.

Is it a securety hole ? Maybe...
Comment 2 Stephan Binner 2009-08-27 21:19:05 UTC
http://cvs.fedoraproject.org/viewvc/devel/kdelibs/kdelibs-4.1.72-policykit-workaround.patch might be interesting here :-)...
Comment 3 Stephan Binner 2009-09-21 18:14:08 UTC
*** Bug 508341 has been marked as a duplicate of this bug. ***
Comment 4 Paul Lubetsky 2009-09-22 14:31:04 UTC
polkit-auth --obtain org.freedesktop.hal.storage.mount-fixed, being added to livecd session helps too.
Comment 5 Stephan Binner 2009-09-24 13:14:39 UTC
Fixed in KKFD