18:04
I've got a Synology NAS with a /music share.
In this directory directory are not readable for every user (777) but only for user and group (750).
Mounting the share is ok with raspyFi, but files are unreadable.
a ls -lap of /mnt/NAS/Syno2/ give this kind of credentials :
drwxr-x— 20 0 0 0 Feb 25 2011 ACDC/
[...]
But mpd access this files with uid=106 and will fail (access "other" credentials)
My solution was to add uid=106 (mpd's uid) to /etc/auto.nas, so the share will be readable by mpd
Syno2 -fstype=cifs,file_mode=0777,dir_mode=0777,iocharset=utf8,rsize=2048,wsize=4096,cache=strict,username=XXXXX,password=XXXX ://192.168.XX.XX/music
==>
Syno2 -fstype=cifs,uid=106,file_mode=0777,dir_mode=0777,iocharset=utf8,rsize=2048,wsize=4096,cache=strict,username=XXXXX,password=XXXX ://192.168.XX.XX/music
Now RaspyFi is indexing all my database (but complain about manually edited file :-p )
Hope it will be integrated in next release
Thanks, thats a very useful feedback… As you can see the mountpoint are configured with 777 access… Try to also edit the auto.nas file with the same permissions you have on your share… I'm curious about what would happen
21:08
Hi,
after working through all those NAS topics, that also helped me.
I have a ubuntu server with samba as NAS.
Mpd needs full rights (777), but somehow the folder setting is wrong but contents is browsable.
Raspyfi adds the share with limited rights:
drwx—— 1 mpd pi 0 Sep 25 17:46 MyServ/
Adding "uid=106"
to my auto.nas solved the issue.
MyServ -fstype=cifs,uid=106,file_mode=0777,dir_mode=0777,iocharset=utf8,rsize=2048,wsize=4096,cache=strict,username=***,password=*** ://192.168.178.17/mp3
Thank you StefTech!
Most Users Ever Online: 200
Currently Online:
5 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Gyp: 82
yoghurtlidlicker: 37
PaulM: 36
icai: 35
Derek: 29
Karsten: 27
tc-fi: 22
Ronaldo: 21
ENSen: 21
chriz: 20
Member Stats:
Guest Posters: 3619
Members: 569
Moderators: 0
Admins: 1
Forum Stats:
Groups: 4
Forums: 10
Topics: 469
Posts: 13163
Newest Members: polo2016, dongdong8, wlpwlp, Sager, ninestab123, lmx66, lmx, jlgg, chenyan, guoyanying
Administrators: admin (401)