I manage my music on a USB HDD.
So I want to use a Samba server to manage it from my PC without having to reconnect the HDD.
However, I am troubled by the fact that volumio automatically mounts the HDD and the owner becomes the root user.
Currently, I have to unmount it once and then mount it with the following command, but it is very troublesome.
mount /dev/sda2 /media/Volume -o uid=65534,gid=65534
I would like to know how to set the user of the HDD as above automatically.
Volumio Information
Volumio Version:2.873
Hardware: Raspberry pi zero WH
DAC:pHAT DAC
I’m no expert on this, but I think if the fstab entry is present at boot, the HDD should mount following the rule and will not ‘hot mount’
TBH I don’t think any of this is a good idea and don’t really know why the OP wants anything but default behaviour. The Volumio drives all show up over SMB with anonymous access, it’s always been one of the features of Volumio that I liked the most. @Kai_H Great avatar!