Bug 444552

Summary: Dolphin does not ask for authentification when trying to mount "fixed" partition.
Product: [openSUSE] openSUSE 11.1 Reporter: Dimitar Pashov <d.pashov>
Component: KDE4 ApplicationsAssignee: E-mail List <kde-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium    
Version: Factory   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: Community User Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Dimitar Pashov 2008-11-13 10:42:14 UTC
I have a few partitions and I don't have them in the fstab file. They show up in dolphin's sidebar. When I click on some of them I get the following error message:

An error occurred while accessing 'partition_name', the system responded: org.freedesktop.Hal.Device.PermissionDeniedByPolicy:
org.freedesktop.hal.storage.mount-fixed auth_admin_keep_always <-- (action,result)

The content of my /etc/PolicyKit/PolicyKit.conf is:

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">
<!-- See the manual page PolicyKit.conf(5) for file format -->
<config version="0.1">
</config>

If I put :

<define_admin_auth  user="root" group="wheel" />
<match action="org.freedesktop.hal.storage.mount-fixed">
    <return result="auth_admin" />
</match>

between <config version="0.1"> </config> similar error occurs auth_admin_keep_always -> auth_admin

if I replace "auth_admin" with "yes" then dolphin would mount the partition without asking anything. 
In Fedora 10 and Mandriva 2009 Dolphin asks for authorization when mounting fixed media and I think that is sensible approach but even mounting automatically when asked is better than having some error appear in front of the unexperienced.
Comment 1 Stephan Binner 2008-12-29 11:02:03 UTC

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