You are not logged in.

#1 2012-09-11 08:23:40

abiotic
Member
Registered: 2012-04-10
Posts: 35

Automounting with thunar in WMFS2

I'm using thunar and WMFS2 and I can only mount internal partitions from the terminal (using 'mount').
If I try to mount any of my backup partitions from Thunar I get an 'Authorization required' error instead of being prompted for the root password.
AFAIK, SLiM launches consolekit on its own by default, right?
Flash drives and CDs/DVDs are mounted just fine, but not the internal partitions.

Now, I've managed to work around this by modifying "/usr/share/polkit-1/actions/org.freedesktop.udisks2.policy" like so:

  <action id="org.freedesktop.udisks2.filesystem-mount-system">
    <description>Mount a filesystem on a system device</description>
    <message>Authentication is required to mount the filesystem</message>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

The internal partitions do get mounted, but I'm not required to enter a password at all.
Is there anything I can get thunar to just ask for a password and then mount the partitions instead?

Offline

Board footer

Powered by FluxBB