Pages

2010-01-16

External NTFS disk auto mounted read-only in squeeze

Recently I noticed (may be after an update) that my external NTFS disk was mounted read-only after plugging it in. This was strange since the r/w mount worked since a couple of years with ntfs-3g.

The fs mount options were these:

ntfs-3g(rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,dmask=0077)

but I got permission denied errors on file creation attempts.

Classic command line mount as super user worked fine, but not for an unprivileged user. I looked hours for hal and udev settings but the solution was obviously much more simple:

 # ln -s /sbin/mount.ntfs-3g /sbin/mount.ntfs

Since then the fs mount options became these:

fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=512)

And file creation works like a charm again.

That's it!

No comments:

Post a Comment