I’m trying to setup a music server (tried both Navidrome and Jellyfin) but when trying to access my mounted network folder, I get ‘permission denied’.
FYI: In Jellyfin, it can access my movies and series mount just fine, only my music folder is a problem apparently. Navidrome logs also say permission denied.
Tried: lots of things: chown, this code:
sed -i 's/,iocharset=utf8,vers=/,iocharset=utf8,uid=dietpi,gid=dietpi,file_mode=0770,dir_mode=0770,vers=/g' /etc/fstab
umount /mnt/samba
mount -a
ls -al /mnt/samba
Searched: lots of websites, all telling the same (to do a chmod or the above code)
If I want to go into the folder as the normal dietpi user, I also get an permission denied, but with root, I can access it (maybe that’s the clue to solving it, but I don’t know how)
Hopefully someone can help me out for telling me why my movie and series mounts are perfectly accessable and the music mount (mounted in the same way, through the dietpi interface) is not.
I guess it’s a Samba share where media are located. Means, Samba don’t support any file system permission at all. Therefore, any command to change owner or file permission will have zero effect.
You could try to change /etc/fstab and adjust file_mode=0770,dir_mode=0770 into 777 permission to allow all user access.
The mounted share is on a Synology NAS, and I mounted it through the dietpi interface (I think it’s nfs).
Like I said, I can access it through the console, but only as root.
Ok, apparently, that was it, the squash was set to denied, while on the movies and series folder, it was allowed. Rescanned navidrome and the music is there. Thanks all.