LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 10-11-2010, 10:15 PM   #1
Jeff91
Bodhi Developer
 
Registered: Jan 2009
Location: Alsip, IL
Distribution: Bodhi and Maemo
Posts: 300

Rep: Reputation: 33
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

Last edited by Jeff91; 10-11-2010 at 10:56 PM. Reason: Add more info
 
Old 10-15-2010, 08:01 AM   #2
eyerobot
LQ Newbie
 
Registered: Dec 2008
Location: Holland, Michigan USA
Distribution: Kubuntu 8.04
Posts: 9
Blog Entries: 1

Rep: Reputation: 1
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.
 
  


Reply

Tags
policykit


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Current versions of policykit/consolekit vs Gnome Slackbuild Projects pk/ck? damgar Slackware 3 05-08-2010 06:48 PM
PolicyKit rpm for RHEL 5.4 vsumanth10 Red Hat 5 03-11-2010 12:15 PM
Can't control policyKit ohadbasan Linux - Desktop 4 08-24-2009 01:23 PM
HAL, DBus and Policykit slothpuck Slackware 2 01-31-2007 12:56 PM
PolicyKit and Hal problem TongueTied Linux - Software 1 01-19-2007 08:26 PM


All times are GMT -5. The time now is 08:01 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration