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:
- adding mounting instructions to /etc/fstab
- adding mounting instructions to /etc/fstab_raspberry
- 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
- followed this post: https://volumio.org/forum/editing-etc-fstab-raspberry-t124.html to disable security check (note the relevant lines of code were commented out by default)
- disabled /etc/usbmount/usbmount.conf
- 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!