The Share on my Samba-Server is mounted in RaspyFi and I am able to look in the share with cd and ls.
command mout shows all ok:
//ipaddresssambaserver/musik on /mnt/NAS/sambashare type cifs (rw,relatime,vers=1.0,sec=ntlm,cache=strict,unc=\\ipaddresssambaserver\musik,username=user,uid=0,noforceuid,gid=0,noforcegid,addr=ipaddresssambaserver,unix,posixpaths,serverino,acl,rsize=2048,wsize=2048,actimeo=1)
If I want to update the Database I get a failure in mpd.log:
Sep 15 18:47 : update: Failed to open directory /var/lib/mpd/music/NAS/sambashare: Permission denied
… but looking in Terminal with cd and ls was possible !
The User on my Samba-Server I connected with, has no write permissions. But when I use a User with write permissions, the failure is the same.
PUSH
No one an idea, maybe a developer or supporter ?
edit:
Here, some more information about smbmount for user pi on raspyfi …
[email protected]:/var/lib/mpd/music/NAS$ ls -l
total 0
drwxr-s— 1388 pi users 0 Aug 30 19:49 foldermusic
[email protected]:/var/lib/mpd/music/NAS$ ls -l foldermusic/zz-top/
total 563560
-rwxr-x— 1 pi users 3297279 Jan 17 2004 01 – I Thank You.mp3
-rwxr-x— 1 pi users 2865152 Jan 16 2004 01 – Waitin For The Bus.mp3
-rwxr-x— 1 pi users 3358720 Jan 16 2004 02 – Jesus Just Left Chicago.mp3
…
Generate or update database for NAS mounts not possible !
I get the failure in mpd.log, I write in my first posting.
admin said
Mpd needs your share has 777 access… So full write and read permissions, for users and groups…
Why ??? Horrible …. everybody are able to delete or doing other bad things. Not the GNU/Linux Way.
Do the devs plan to change it ?
On my smb-server has raspify's mpd nothing to write, only root has such permissions .
Mpd needs 777 access permissions to the library, if it hasn't it doesn't work properly. Since mpd is out way before you started feeling unsecure, take it or leave it.
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)