Date: Tue, 2 Jun 2020 14:31:34 +0200 From: Tomasz CEDRO <tomek@cedro.info> To: "Steve O'Hara-Smith" <steve@sohara.org> Cc: FreeBSD Questions Mailing List <freebsd-questions@freebsd.org> Subject: Re: autofs auto(un)mountd umount problem Message-ID: <CAM8r67BeiFMsbTSfO%2B8YvpMzMUhRr1pnND4sidUy4qPu9nBj6g@mail.gmail.com> In-Reply-To: <20200602130816.fe01e502fff3dd3c51685a55@sohara.org> References: <CAM8r67ADM%2BgTLx9j7fv-03XqS-L7ZcR3xGLnBqwHA%2BiFazn0KA@mail.gmail.com> <20200602130816.fe01e502fff3dd3c51685a55@sohara.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM8r67BeiFMsbTSfO%2B8YvpMzMUhRr1pnND4sidUy4qPu9nBj6g>