O/S suse 11.0 and this happened after i installed the latest KDE 4.1.64
When i click on my USB icon in Dolphin I get Hal permission denied by policy.
Please help me with a step by step to do list and do not refer me to other threads. I have checked everything !
Thanks.
On 2008-09-09, lucky7 <lucky7@no-mx.forums.opensuse.org> wrote:
> Please help me with a step by step to do list and do not refer me to
> other threads. I have checked everything !
> Thanks.
OK, we won’t refer you to other threads.
Good evening.
A little suggestion.
Try asking for help without dictating how you want that help.
i.e. How do you know someone isn’t going to find a thread you missed ?
–
Hanlon’s Razor:
Never attribute to malice that which is
adequately explained by stupidity.
I have not seen anything concerning the issue either, but am certain it has to do with PolicyKit. The files polkit-auth and polkit-action are the relevant ones here.
Try something like the following
polkit-auth --user username --grant org.freedesktop.hal.storage.mount-removable
I haven’t tested that out completely, but it only works in dolphin. There seems to be a bug in the device mounter for kde4.
try this…
open up a ‘my computer’ window, the drive should be there. if it is, click on it, in the address bar at the top you should get something saying something like /dev/sdb1 or something along those lines. if it’s not in my computer then go into yast>system>partitioner, see your drive and it should say the device label (sdb1 or sdc2 or whatever it is.
the following assumes the drive is sdb1, and you wanted it mounted in /media/usbdrive, and the file system is fat32. if it’s ntfs type ntfs-3g where vfat is.
next try this
open a terminal/konsole window.
type
su
enter root password
mkdir /media/usbdrive
mount -t vfat /dev/sdb1 /media/usbdrive
chmod 777 -R /media/usbdrive
does this work? you could also use the yast partitioner to create an fstab entry.
This does indeed solve the Problem (you have to run it with sudo). There is also a Bug-Report for this problem.
https://bugzilla.novell.com/show_bug.cgi?id=416956
David
For future reference, I found out that the KDE 4 packages you refer to change the org.freedesktop.hal.storage.mount-removable permissions, which causes the problem (the permissions were set to auth_admin_keep_always). I fixed it here using:
polkit-action --reset-defaults org.freedesktop.hal.storage.mount-removable
.