LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Making PolicyKit Edits in 10.04 (https://www.linuxquestions.org/questions/ubuntu-63/making-policykit-edits-in-10-04-a-837523/)

Jeff91 10-11-2010 10:15 PM

Making PolicyKit Edits in 10.04
 
I am trying to make the edit referenced on this page. But obviously it is for an older Ubuntu version because the /etc/PolicyKit/PolicyKit.conf file does not exist on my 10.04 system.

How do I go about making this edit for however 10.04 handles PolicyKit calls now?

It details I should be replacing a line that looks like
Code:

<match action="org.freedesktop.hal.storage.mount-removable">
With

Code:

<match action="org.freedesktop.hal.storage.*">
Any ideas where I would find such a line?

Update: So I found that I need to be editing the /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla file for 10.04, however I created the following entry in it:

Code:

[Mounting, checking, etc. of internal drives]
Identity=unix-user:*;unix-user:jeff
Action=org.freedesktop.udisks.filesystem-*;org.freedesktop.udisks.drive-ata-smart*;org.freedesktop.hal.storage.*
ResultActive=yes

and my default user still can't mount the internal partitions. What am I doing wrong still?

Regards,
~Jeff Hoogland

eyerobot 10-15-2010 08:01 AM

I have been having similar issues with Kubuntu.

I was able to make an external usb drive accessible by any user on my system, And even share it on my network, By setting it up in fstab.

But, I installed an internal 150 gb drive, And nobody can access it, Not even as root, No matter what I do.

I read on Ubuntu web site, That this problem has been reported, And they seem to be taking a look at it, But it is a real problem.

The normal way to do this, Is just by using the system tools to setup the drive permissions properly, But I'm afraid it just doesn't work right now, At least not for me, And a few others.


All times are GMT -5. The time now is 05:11 PM.