You are not logged in.

#1 2009-07-15 16:20:07

fh
Member
Registered: 2009-07-11
Posts: 31

[SOLVED] External Harddrive automounts as (not even) readonly?

Hello,

My external hardrive automounts; but non-root can't even read. As root, I'm unable to write to the external drive.

How do I change this? (Its working fine under Ubuntu; I just wrote to it.)

Faraz.

Last edited by fh (2009-07-16 05:13:57)

Offline

#2 2009-07-15 17:50:30

oib111
Member
Registered: 2009-06-20
Posts: 87

Re: [SOLVED] External Harddrive automounts as (not even) readonly?

I had a similar problem. This is what I did:

chown -R username:groupname mount_point
chmod -R u=rwx mount_point

For me it was:

chown -R isaac:isaac /mnt/windows
chmod -R u=rwx /mnt/windows

Offline

#3 2009-07-15 18:56:10

fh
Member
Registered: 2009-07-11
Posts: 31

Re: [SOLVED] External Harddrive automounts as (not even) readonly?

chown command works, but chmod doesn't.

[faraz@archbox media]$ chmod -R u=rwx /media/FHExtHDNTFS/
chmod: changing permissions of `/media/FHExtHDNTFS/': Operation not permitted
chmod: cannot read directory `/media/FHExtHDNTFS/': Permission denied

Offline

#4 2009-07-15 22:56:21

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: [SOLVED] External Harddrive automounts as (not even) readonly?

Is it possible that your filesystem is ntfs and you don't have the appropriate capability in your kernel? I've seen something of this nature ages ago, no idea if it still applies now.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2009-07-16 05:13:40

fh
Member
Registered: 2009-07-11
Posts: 31

Re: [SOLVED] External Harddrive automounts as (not even) readonly?

I did install ntfs-3g. But I think the following is what worked for me:

In /usr/share/PolicyKit/policy/org.freedesktop.hal.storage.policy, modified (changed no to yes) [See http://sathyasays.com/2008/08/20/how-to … nsuse-11/]:

  <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, added:

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

[Also see http://bbs.archlinux.org/viewtopic.php?id=66402]

Last edited by fh (2009-07-16 05:28:18)

Offline

Board footer

Powered by FluxBB