I mounted a NAS on my RPI with my musics but I can’t see any musics in WEBGUI
even if I can see them in /var/lib/mpd/music/NAS
The command mount gives:
//192.168.1.1/Media on /mnt/NAS/musique type cifs (rw,relatime,vers=1.0,sec=ntlmv2,cache=strict,domain=WORKGROUP,uid=1000,forceuid,gid=1000,forcegid,addr=192.168.1.1,file_mode=0777,dir_mode=0777,nounix,rsize=61440,wsize=65536,actimeo=1)
The mpd log tells:
[readers.c:1182] error: Cannot open file /var/lib/mpd/music/NAS/musique/Alice Cooper - Poison.mp3: Permission denied
Mar 14 11:35 : mpg123: libmpg123 failed to open /var/lib/mpd/music/NAS/musique/Alice Cooper - Poison.mp3: A generic mpg123 error.
I checked the permission and it seems I have full permission.
pi@volumio:~$ ls -l /var/lib/mpd/music/NAS/musique/
total 26813
-rwxrwxrwx 1 pi pi 4290437 Jun 5 2010 Alice Cooper - Poison.mp3
I get the same permission denied with folder /mnt/NAS
pi@volumio:~$ sudo touch /mnt/NAS/music/test.txt
touch: cannot touch `/mnt/NAS/music/test.txt': Permission denied
pi@volumio:~$ sudo ls -l /mnt/NAS/
total 0
drwxrwxrwx 2 pi pi 0 Mar 16 22:46 music
So it means my NAS is not mounted properly.
In /etc/fstab I have: