You are not logged in.

#1 2009-04-29 01:40:52

normc
Member
From: Ottawa, Canada
Registered: 2004-06-28
Posts: 277
Website

SOLVED Permisson problems with USB etc.

When I p[lug in a usb device I get an error message
"ORG.FREEDESKTOP.DEVICE.PERMISSIONDENIEDBY POLICY: ORG.FREEDESKTOPDEVICEHAL.STORAGE.MOUNT.REMOVABLE no
I searched trhough the forums and tried various suggestions. None of them worked.
When I first had this problem I could mount cds dvds. not any more. This is a fresh install.

Last edited by normc (2009-04-30 20:55:54)


Norm

Offline

#2 2009-04-29 01:45:02

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: SOLVED Permisson problems with USB etc.

normc wrote:

When I p[lug in a usb device I get an error message
"ORG.FREEDESKTOP.DEVICE.PERMISSIONDENIEDBY POLICY: ORG.FREEDESKTOPDEVICEHAL.STORAGE.MOUNT.REMOVABLE
I searched trhough the forums and tried various suggestions. None of them worked.
When I first had this problem I could mount cds dvds. not any more. This is a fresh install,

Look at the HAL page in the wiki. especially the TroubleShooting section. you will have to create the policykit files for it to work. Also make sure you username is in the storage group.

Last edited by Inxsible (2009-04-29 01:48:14)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2009-04-29 02:01:02

normc
Member
From: Ottawa, Canada
Registered: 2004-06-28
Posts: 277
Website

Re: SOLVED Permisson problems with USB etc.

Inxsible wrote:
normc wrote:

When I p[lug in a usb device I get an error message
"ORG.FREEDESKTOP.DEVICE.PERMISSIONDENIEDBY POLICY: ORG.FREEDESKTOPDEVICEHAL.STORAGE.MOUNT.REMOVABLE
I searched trhough the forums and tried various suggestions. None of them worked.
When I first had this problem I could mount cds dvds. not any more. This is a fresh install,

Look at the HAL page in the wiki. especially the TroubleShooting section. you will have to create the policykit files for it to work. Also make sure you username is in the storage group.

I did this didn't help??


Norm

Offline

#4 2009-04-29 04:12:35

windtalker
Member
Registered: 2008-03-17
Posts: 220

Re: SOLVED Permisson problems with USB etc.

Try adding this to your PolicyKit.conf:

<config version="0.1">
<match action="org.freedesktop.hal.storage.mount-removable">
    <return result="yes" />
  </match>
  <match action="org.freedesktop.hal.storage.eject-removable">
    <return result="yes" />
  </match>
  <match action="org.freedesktop.hal.storage.mount-fixed">
    <return result="yes"/>
  </match>
  <match action="hal-storage-mount-fixed-extra-options">
    <return result="yes"/>
  </match>
  <match action="hal-storage-mount-removable-extra-options">
    <return result="yes"/>
  </match>
</config>

Offline

#5 2009-04-30 01:07:59

normc
Member
From: Ottawa, Canada
Registered: 2004-06-28
Posts: 277
Website

Re: SOLVED Permisson problems with USB etc.

No joy that didn't work.


Norm

Offline

#6 2009-04-30 01:12:09

Intruder89
Member
From: Belgrade, Serbia
Registered: 2009-02-20
Posts: 28

Re: SOLVED Permisson problems with USB etc.

Can you copy/paste here your /etc/PolicyKit/PolicyKit.conf ?

I`m asking becouse you need to copy

                <match action="org.freedesktop.hal.storage.*">
                        <return result="yes"/>
                </match>
                <match action="hal-storage-mount-fixed-extra-options">
                <!-- for internal devices mounted with extra options like a wished mount point -->
                        <return result="yes" />
                </match>
                <match action="hal-storage-mount-removable-extra-options">
                <!-- for external devices mounted with extra options like a wished mount point -->
                        <return result="yes" />
                </match>

betwen <config> </config> and not under </config> (like me and was wondering why that won`t work big_smile).

Last edited by Intruder89 (2009-04-30 01:13:18)

Offline

#7 2009-04-30 03:44:06

normc
Member
From: Ottawa, Canada
Registered: 2004-06-28
Posts: 277
Website

Re: SOLVED Permisson problems with USB etc.

<config version="0.1">
<match action="org.freedesktop.hal.storage.mount-removable">
    <return result="yes" />
  </match>
  <match action="org.freedesktop.hal.storage.eject-removable">
    <return result="yes" />
  </match>
  <match action="org.freedesktop.hal.storage.mount-fixed">
    <return result="yes"/>
  </match>
  <match action="hal-storage-mount-fixed-extra-options">
    <return result="yes"/>
  </match>
  <match action="hal-storage-mount-removable-extra-options">
    <return result="yes"/>
  </match>
</config>


Norm

Offline

#8 2009-04-30 10:13:15

Intruder89
Member
From: Belgrade, Serbia
Registered: 2009-02-20
Posts: 28

Re: SOLVED Permisson problems with USB etc.

                <match action="org.freedesktop.hal.storage.*">
                        <return result="yes"/>
                </match>

And this one ? Add it on the begining. I even don`t have these three in my .conf and HAL works great:

<match action="org.freedesktop.hal.storage.mount-removable">
    <return result="yes" />
  </match>
  <match action="org.freedesktop.hal.storage.eject-removable">
    <return result="yes" />
  </match>
  <match action="org.freedesktop.hal.storage.mount-fixed">
    <return result="yes"/>
  </match>

Don`t remove it just try to add on the begining that one I told you. If that won`t work (and I think it will) try to remove these three and leave only those three I wrote in my prev post.

Offline

#9 2009-04-30 20:54:15

normc
Member
From: Ottawa, Canada
Registered: 2004-06-28
Posts: 277
Website

Re: SOLVED Permisson problems with USB etc.

I deleted ever thing and added the first part of your suggestion and every thing worrks smile:):):):)


Norm

Offline

Board footer

Powered by FluxBB