PDA

View Full Version : [kubuntu] Lucids upgrade to 4.4 beta breaks disk mounting?



Ubuntiac
December 29th, 2009, 10:56 PM
Moved discussion for this thread to here (http://ubuntuforums.org/showthread.php?p=8733877) as per falconindy's suggestion.

Ever since the KDE 4.4 beta packages came in, I've been unable to mount drives either with the new "removable devices" section in system settings (although my drives are IDE/SCSI) or in Dolphin. I just get an error:

An error occurred while accessing 'Seagate15tb', the system responded: org.freedesktop.Hal.Device.Volume.PermissionDenied : Refusing to mount device /dev/sda1 for uid=1000

It's obviously permissions of some description, but I'm wondering how one would fix this. Do I need to add my user to the "disk" group or something like that?

I'm on Kubuntu Lucid AMD64 with KDE 4.4 Beta 2
with 1 ide ext4 partition, 1 ide connected ntfs partition and 1 scsi connected ntfs partition. All fail in the same way.

falconindy
December 29th, 2009, 11:26 PM
Lucid forum is over here (http://ubuntuforums.org/forumdisplay.php?f=377).

Look through /etc/hal/fdi/policy files to understand who has access to mount volumes. It may be as simple as adding yourself to the disk or storage group.

SuperSonic4
December 29th, 2009, 11:35 PM
Ever since the KDE 4.4 beta packages came in, I've been unable to mount drives either with the new "removable devices" section in system settings (although my drives are IDE/SCSI) or in Dolphin. I just get an error:

An error occurred while accessing 'Seagate15tb', the system responded: org.freedesktop.Hal.Device.Volume.PermissionDenied : Refusing to mount device /dev/sda1 for uid=1000

It's obviously permissions of some description, but I'm wondering how one would fix this. Do I need to add my user to the "disk" group or something like that?

I'm on Kubuntu Lucid AMD64 with KDE 4.4 Beta 2
with 1 ide ext4 partition, 1 ide connected ntfs partition and 1 scsi connected ntfs partition. All fail in the same way.

Methinks /etc/PolicyKit/PolicyKit.conf is to blame.

I did the following

If you move it


cd /etc/PolicyKit
sudo -i
mv PolicyKit.conf PolicyKit.conf.bak
nano PolicyKit.conf


And paste in the following


<?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">
<define_admin_auth group="wheel"/>
</config>

replace wheel with your user if you don't want all of wheel group to have the power[/code]

exit nano


touch PolicyKit.conf

Ubuntiac
January 27th, 2010, 08:50 PM
Still no improvement after trying that PolicyKit.conf change and upgrading to the latest RC of KDE. :'(

Moved discussion for this thread to here (http://ubuntuforums.org/showthread.php?p=8733877) as per falconindy's suggestion.

overdrank
January 28th, 2010, 01:14 AM
Thread closed as link is given for new thread. :)