Ok…
Just did the following
- fresh install of volumio 1.4
- Changed IP to static addressing
- Then added a share using webgui (This is an exsiting Samba share on my home net, hosted by another computer running Linux Mint 17).
Ok - share comes up as recognised and I get litle message saying “mpd datebasse update started”
If I try browse using browse function in GUI I get nothing but one dir called “flac” - nothing inside,
My share name Lounge is missing from browse.
If I ssh into device and look at /mnt/NAS/flac and /mnt/NAS/Lounge I can see that the NAS is mounted at the location - I can browse files etc.
I’ve had a look at log file
[code]sudo nano /var/log/mpd/mpd.log
Jun 12 01:18 : avahi: Service ‘volumio’ successfully established.
Sep 12 16:24 : avahi: Client Disconnected, will reconnect shortly
Sep 12 16:24 : avahi: Client Disconnected, will reconnect shortly
Sep 12 16:24 : avahi: Could not reconnect: Daemon not running
Sep 12 16:24 : avahi: Service ‘volumio’ successfully established.
Sep 12 16:24 : avahi: Service ‘volumio’ successfully established.
Sep 12 16:27 : avahi: Client Disconnected, will reconnect shortly
Sep 12 16:28 : avahi: Service ‘volumio’ successfully established.
Sep 12 16:34 : update: Failed to open directory /var/lib/mpd/music/NAS/Lounge: Permission denied
[/code]
If I then look at permissions of /mnt/NAS/Lounge all folders are as follows ;-
drwxrwx--- 263 pi pi 0 Sep 7 21:53 .
drwxrwxrwx 4 pi pi 4096 Sep 12 16:34 ..
drwxrwx--- 4 pi pi 0 Jun 16 2013 10,000 Maniacs
drwxrwx--- 3 pi pi 0 Oct 11 2013 Above and Beyond
drwxrwx--- 4 pi pi 0 Jun 16 2013 Adele
drwxrwx--- 7 pi pi 0 Mar 19 10:04 Air
Looks like the mount is availible to user pi or anyone in group pi, but not user mpd
I’m not sure how mount command is generated and called -
I can see some options for mounting through gui
mine is the default
cache=strict,ro,noatime,dir_mode=0777,file_mode=0777
info how how to change all the mount options ?
Anyone got ideas on best way to fix this ?
Woody