6 months ago
How to auto-mount eSATA devices

By default it seems that eSATA devices are treated as evil foreign things that only super users can mount. Thunar will bork with somehting like this:

org.freedesktop.hal.storage.mount-removable no <— (action, result).

I am toor and I expect to be able to do things like this, therefore do the following:

In /usr/share/PolicyKit/policy/org.freedesktop.hal.storage.policy, modify (change no to yes) [See this]

Code:

  <action id="org.freedesktop.hal.storage.mount-removable">
<description>Mount file systems from removable drives.</description>
<message>System policy prevents mounting removable media</message>
<defaults>
<allow_inactive>yes</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>

In /etc/PolicyKit/PolicyKit.conf, add:

Code:

<match action="org.freedesktop.hal.storage.mount-removable">
<match user="your-user-account">
<return result="yes"/>
</match>
</match>

[Also see this]

Comments (View)