This is what I use, create
/etc/devfs.rules with
Code:
[system=10]
add path 'da*' mode 0660
ILUXA actually adding
add path 'da*s*'
(
add path 'da*p*'
for flash drives containing a BSD slice) sort many issues out in my case, whereas bare '
da*' had failed granting me write permissions on automounted devices.
All things considered I have to say I'm satisfied with autofs. With FUSE I automount mount EXT4 -ro, exFAT USB stick and NTFS external drive -rw without issue. I can also mount HFS using
sysutils/hfsutils, when I boot in someone's Mac through a USB stick. Only my XFS Linux-home partition l ends up being umountable on desktop, but really, no harm done.
However, despite having thoroughly looked
auto_master(5) over, I still don't know whether I managed to understand or not how it works for real (mountpoints, direct/indirect/special maps). For example, does specifying a custom mountpoint in
/etc/auto_master require a custom map? I specified
-media as special map since it seemed the most obvious choice, but then apparently no change was applied and /media remained always as automount point even when the corresponding entry in auto_master was commented.
I ended up giving ownership for
/media to my standard user and creating a simlink on desktop pointing to it.
It a long time now (years), I'm doing this that way, and I'm fine as lonh as it works, but I was looking for a more proper solution...do if anyone is so kind to enlight me on that I would definitely appreciate it