I have two systems, one running 11.2 x64, and the other running 11.3 x64. on both systems, I’ve lost the ability to mount internal partitions “on-the-fly” from the Dolphin panel. When I try, I get the following error that shows up at the bottom of the Dolphin window:
An error occurred while accessing 'Backup', the system responded: org.freedesktop.Hal.Device.PermissionDeniedByPolicy:
org.freedesktop.hal.storage.mount-fixed auth_admin_keep_always <--(action, result)
The problem is identical to what is listed in this bug report, but it is marked as resolved.
Trying to mount via Dolphin has always given me this error on the 11.3 system, but only recently started happening in the 11.2 system after a recent “zypper dup” (using the “Stable” KDE 4.4 repo).
Any suggestions would be appreciated. If others are experiencing this same issue, please let me know so I can file a bug report. Please note that the error only occurs for internal partitions, and external drives work fine.
As I have already commented in the other thread.
I have no issue with this in 11.2 or 11.3
And the absence of any physical evidence here to support your issue is confusing.
Other than my installation partitions I have other ext4 and ntfs partitions - all work perfectly.
Thanks for the link. I’m glad that it’s an open bug that’s being worked on.
Unfortunately, the modification I made per my post above did not work. Curiously, I get the same error message. (Even after rebooting). I don’t know how this is possible, but I’ve verified that the file is indeed modified. Is there something I’m missing that you can think of?
In the other thread it sounded like all your internal partitions were mounted at boot (via fstab entries). If so, this bug does not pertain to you.
If not, and if you are able to mount them “on-the-fly” using Dolphin, could you please post your org.freedesktop.hal.storage-policy file here to see if there is something different?
Also, what do you mean by “physical evidence”? I would be happy to post any information you request. If you’d like a screenshot of the error, I would be happy to oblige.
<policyconfig>
<action id="org.freedesktop.hal.storage.mount-fixed">
<description>Mount file systems from internal drives.</description>
<message>System policy prevents mounting internal media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep_always</allow_active>
</defaults>
</action>
<action id="org.freedesktop.hal.storage.mount-removable">
<description>Mount file systems from removable drives.</description>
<message>System policy prevents mounting removable media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
<action id="org.freedesktop.hal.storage.unmount-others">
<description>Unmount file systems mounted by other users.</description>
<message>System policy prevents unmounting media mounted by other users</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep_always</allow_active>
</defaults>
</action>
<action id="org.freedesktop.hal.storage.eject">
<description>Eject removable media.</description>
<message>System policy prevents ejecting removable media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
<action id="org.freedesktop.hal.storage.crypto-setup-fixed">
<description>Set up decryption for encrypted fixed storage devices.</description>
<message>System policy prevents accessing encrypted fixed media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep_always</allow_active>
</defaults>
</action>
<action id="org.freedesktop.hal.storage.crypto-setup-removable">
<description>Set up decryption for encrypted removable storage devices.</description>
<message>System policy prevents accessing encrypted removable media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
</policyconfig>
I have entries to fstab because all my partitions were added there automatically during install or in some cases I manually set a mount point.
I have for example this entry:
This was added by the system during install, but I edited the part: /Maxtor defaults 0 0
But it does not auto mount, you have to actually click on it in Dolphin for it to mount. I know that for sure, because I have Virtual Box HD’s on there and can’t use them until I open it up in Dolphin.
If you don’t have an entry for a disc in fstab, I’m not sure about that… All my partitions always have an entry. Unless, I guess, if you create them later on? Let me work on my sandbox and see what I can come up with.
OK
Further to the above.
New install 11.3 gnome - with a internal partition not in /etc/fstab = All works fine. Password requested for mounting (ext4)… blah…blah
New Install 11.3 kde4 - with the same internal partition not in /etc/fstab = Try to open in dolphin and I get the error you all report.
I will look in to this and get back. Sorry for the misunderstanding. And thanks for bringing this important issue to our attention.
If you are interested. I grabbed this from an Ub* install, just by way of comparison. But my knowledge on this subject is next to Zero and I do wonder why a global policy would be involved in the issue that seems desktop based.
and thought that it worked (they showed up the the dolphin “places” menu again and were not mounted at boot), but now when I click on them in dolphin I get this error:
An error occurred while accessing 'Backup', the system responded: mount: only root can mount /dev/sdd1 on /fullbackup
It seems like this is part of the same problem as before, which is that Dolphin doesn’t properly prompt for a password when trying to mount.
Any ideas?
EDIT: Sorry caf, I posted this response prior to seeing your last couple. I’ll try that and see if it works…
Thank you, but making the modification above appears to mount these partitions at boot.
I tried modifying the owner on the mount directories, and still got the same error I listed above.
I modified per your suggestion above, and they now do not mount at boot. However, when trying to mount in Dolphin I still get the:
An error occurred while accessing 'Backup', the system responded: mount: only root can mount /dev/sdd1 on /fullbackup
error. I’ve checked the mount folders and I own all of them and should have full read-write access. I think this is still related to the policykit issue. Are you able to mount them through Dolphin when your fstab is setup this way?
Thanks again for all your help. I know this is more of an annoyance than a deal-killer since these partitions can still be mounted by “normal” means, but it can be very annoying when a functionality goes away that you’ve grown accustomed to. I appreciate your time and suggestions.