autofs auto(un)mountd umount problem

Tomasz CEDRO tomek at cedro.info
Tue Jun 2 12:32:14 UTC 2020


On Tue, Jun 2, 2020 at 2:08 PM Steve O'Hara-Smith wrote:
> On Tue, 2 Jun 2020 13:48:45 +0200
> Tomasz CEDRO wrote:
> > 2. Why I cannot mount/umount as user even though vfs.usermount is set?
>
>         The user needs to own the mountpoint, that may be your problem.

Aaaarrghh :-) :-) Not the group but the _owner_only_. I thought that
group also worked that way, me bad. I really got used to mount only in
/mnt but well now I can also use my working directory for that :-) :-)
Thank you Steve!! :-)

Now I need to read about flags for automount so it does not change my
mount point ownership and permissions so I can umount as user.. then
tune its options so it umount the vanished device for me.. maybe I can
even fix the device so it vanishes in a graceful way :-)

This automount feature is really nice, saves some time on a
workstation that swaps usb drives a lot.. I can now also use pendrive
with dumps from an oscilloscope and stuff like that.. and always I can
simply turn it off with only one or two rc.conf lines of text :-)

I just love FreeBSD :-)

Thank you! :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info


More information about the freebsd-questions mailing list