I’m trying to remotely access my local media files on a USB attached drive (FAT32).
Internal Storage and NAS shares work and are even writeable by guests (I would prefer limiting guests to read only).
The USB share mounts and shows the attached drive volume. But drive cannot be read: “The folder <volume_name> can’t be opened because you don’t have permission to see its contents.” Web & forum searches produced no relevant threads (but most of my forum searches were rejected for “too common search terms”: SMB).
I added a smb password for volumio (sudo smbpasswd -a volumio) and can connected as that user but the USB drive is still unreadable.
I have not modified any the smb config files. I’ve found the following ones but it’s unclear which ones are actually used in the custom volumio build. But I don’t see anything that looks amiss for USB share relative to the other shares. But obviously it has to do with drive volume permissions under the USB share.
/etc/samba/smb.conf
/usr/share/samba/smb.conf
/static/etc/samba/smb.conf
/static/run/samba/upgrades/smb.conf
/static/usr/share/samba/smb.conf
/etc/samba/smb.conf:
[code][global]
netbios name = Arvin
server string = Audiophile Music Player
workgroup = WORKGROUP
security = user
map to guest = Bad User
encrypt passwords = yes
wins support = yes
local master = no
preferred master = no
os level = 30
[Internal Storage]
comment = Arvin Internal Music Folder
path = /data/INTERNAL
read only = no
guest ok = yes
[USB]
comment = Arvin USB Music Folder
path = /mnt/USB
read only = no
guest ok = yes
[NAS]
comment = Arvin NAS Music Folder
path = /mnt/NAS
read only = no
guest ok = yes
[/code]
I can access the /mnt/USB/<volume_name> normally via ssh as volumio user. Read & write work as expected so it doesn’t appear to be the mount itself.
Thanks in advance.