Can't access music located on mounted windows share
Posted: Mon Aug 19, 2013 8:45 pm
First off, I'd like to say thanks for a great product. It's exactly what I've been looking for... with one exception
I have a LAMP box (Centos 6.4) running netjukebox v5.38.5.
My music is located on a Windows box (Server 2008).
I've mounted the windows share to the directory "/var/music" by adding the following to my /etc/fstab file:
MPD is able to read the music fine, running "mpc listall" correctly lists all files in the directory.
However, no matter what I do I can't get netjukebox to read anything from this directory.
I've tried every possible combination of file ownership and permission (setting the mount ownership to apache, mpd, root, etc). I've even the set the entire directory to 777 (recursively).
It appears that the apache user does have the ability to write to this directory. Running "sudo -u apache touch /var/music/test" works and write the file "test" to the directory.
I've enabled debug in the config file, but there are no errors thrown at all (to the screen or apache error log). I also add "error_reporting(E_ALL);" and "ini_set("display_errors", 1);" to the top of the initialize file but this didn't help either.
Any help would be greatly appreciated.
Thanks, Darin
I have a LAMP box (Centos 6.4) running netjukebox v5.38.5.
My music is located on a Windows box (Server 2008).
I've mounted the windows share to the directory "/var/music" by adding the following to my /etc/fstab file:
Code: Select all
//windowsserver/Music /var/music cifs uid=48,gid=48,file_temp=0755,dir_mode=0775,rw,suid,username=windowsuser,password=windowspassword 0 0
However, no matter what I do I can't get netjukebox to read anything from this directory.
I've tried every possible combination of file ownership and permission (setting the mount ownership to apache, mpd, root, etc). I've even the set the entire directory to 777 (recursively).
It appears that the apache user does have the ability to write to this directory. Running "sudo -u apache touch /var/music/test" works and write the file "test" to the directory.
I've enabled debug in the config file, but there are no errors thrown at all (to the screen or apache error log). I also add "error_reporting(E_ALL);" and "ini_set("display_errors", 1);" to the top of the initialize file but this didn't help either.
Any help would be greatly appreciated.
Thanks, Darin