Thank you , David. My problem was a simple blunder, but your respose was usefully informative.
On Sat, May 03, 2025 at 02:12:23PM +0000, David wrote: > On Sat, 3 May 2025 at 11:09, Haines Brown <hai...@histomat.net> wrote: > Now to assist you, here's an actual example cut and pasted from the machine > I'm using right now. > > I have a USB key with vfat filesystem with label "SDS814XHD" as shown here: > > $ lsblk -f | grep SDS814XHD > sdc vfat FAT16 SDS814XHD 843A-B464 > > Here's 'grep' showing the relevant line in /etc/fstab that allows that > particular key to be mounted by any user: > > $ grep SDS814XHD /etc/fstab > LABEL=SDS814XHD /mp/sds814xhd vfat > noauto,gid=share,dmask=7007,fmask=7117,shortname=winnt,quiet,user > > Note in that line the use of the 'user' option as described in 'man mount'. > > Here's what happens when a plain user 'david' mounts the USB key: > > $ whoami > david > > $ mount -v LABEL=SDS814XHD > mount: /dev/sdc mounted on /mp/sds814xhd. > > User david owns the files: > > $ ls -l /mp/sds814xhd > total 32 > drwxrwx--- 3 david share 16384 1980-01-01 11:00 SDS814XHD > drwxrwx--- 2 david share 16384 2024-11-15 19:25 SIGLENT > > $ umount -v LABEL=SDS814XHD > umount: /mp/sds814xhd (/dev/sdc) unmounted > > I hope that example helps you to do what you need. > If you reply, please make sure that your reply goes to the > list, not to me. Thanks. > -- Haines Brown