Mounting USB with w/r/x privileges for user, group & others


I’ve been trouble shooting this for a while now with no luck, so any guidance would be greatly appreciated.

when my usb drive auto mounts, it looks like this:

drwxrwxr-x 106 root users 32768 Jan 1 1970 USB

The critical missing part is the write privileges for others, as I’m trying to set up some other software to manage the drive.

I’ve tried the following:

  1. adding mounting instructions to /etc/fstab
  2. adding mounting instructions to /etc/fstab_raspberry
  3. ensuring the two files above are identical.
  • in the above cases, it seems the fstab entries are ignored, as there is no effect on how the drive mounts
  1. followed this post: to disable security check (note the relevant lines of code were commented out by default)
  2. disabled /etc/usbmount/usbmount.conf
  3. enabled /etc/usbmount/usbmount.conf, and modified to mount with the following options: [codepen]ser,rw,umask=0000,flush,exec[/codepen]

If I mount the drive manually with:

mount -o user,rw,umask=0000,flush,exec /dev/sda1 /mnt/USB

then it works great. However I need this to persist on reboot and none of the above seems to make any difference.

Any advise is appreciated as I’m fresh out of ideas!

Thanks in advance!