[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mount esata ntfs drives as user.



On Mon, 29 Nov 2010 20:20:24 +0100, Josep M. Gasso wrote:

> I have an external HD in ntfs format with esata/usb connections, via usb
> runs fine but via esata I can't mount this automaticaly as user.
> 
> I have found a great post at   https://wiki.archlinux.org/index.php/Udev
> but using this  options
> https://wiki.archlinux.org/index.php/
Udev#Mount_under_.2Fmedia.3B_use_partition_label_if_present
> are mounted always as root.

(...)

Have you tried with this? It's specific for ntfs volumes (read/write):

https://wiki.archlinux.org/index.php/
Udev#Mount_under_.2Fmedia.3B_use_partition_label_if_present.3B_ntfs-3g

But the interesing part is on the mount options:

# filesystem-specific mount options (777/666 dir/file perms for ntfs/vfat) 
ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},gid=100,dmask=000,fmask=111,utf8"

Maybe you can tweak "gid=100,dmask=000,fmask=111" values to fit your 
current settings.

Greetings,

-- 
Camaleón


Reply to: