RaspyFi - Topic: Trouble accessing NAS share with reduced rights http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/trouble-accessing-nas-share-with-reduced-rights/ Simple:Press Version 5.2.6 Dennis on Trouble accessing NAS share with reduced rights http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/trouble-accessing-nas-share-with-reduced-rights/#p1266 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/trouble-accessing-nas-share-with-reduced-rights/#p1266 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!

]]>
Wed, 25 Sep 2013 21:08:32 +0200
admin on Trouble accessing NAS share with reduced rights http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/trouble-accessing-nas-share-with-reduced-rights/#p916 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/trouble-accessing-nas-share-with-reduced-rights/#p916 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

]]>
Tue, 10 Sep 2013 18:07:35 +0200
StefTech on Trouble accessing NAS share with reduced rights http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/trouble-accessing-nas-share-with-reduced-rights/#p915 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/trouble-accessing-nas-share-with-reduced-rights/#p915 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

]]>
Tue, 10 Sep 2013 18:04:58 +0200