![]() |
Can't mount SMB share - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: Can't mount SMB share (/showthread.php?tid=1976) |
Can't mount SMB share - TheTaj - 12-11-2019 I recently got a new Synology NAS device (DS1019+) to replace my old Synology NAS (DS213j) and I've been having trouble mounting a shared folder over SMB. The logs keep showing "mount error(13): Permission denied".
RE: Can't mount SMB share - Tim Curtis - 12-11-2019 Post the command string u used to manually mount your new NAS. RE: Can't mount SMB share - TheTaj - 12-11-2019 sudo mkdir /mnt/NAS/MyFam sudo mount -t cifs -o user=thetaj,vers=1.0,ro,dir_mode=0777,file_mode=0777 //MyFamilyNAS/music /mnt/NAS/MyFam RE: Can't mount SMB share - TheOldPresbyope - 12-11-2019 (12-11-2019, 08:59 PM)TheTaj Wrote: I recently got a new Synology NAS device (DS1019+) to replace my old Synology NAS (DS213j) and I've been having trouble mounting a shared folder over SMB. The logs keep showing "mount error(13): Permission denied". On my systems, mount error(13) is induced when I send a SMB server the wrong credentials (username/password). Just one might expect from mount's explanatory text message "Permission denied". RE: Can't mount SMB share - TheTaj - 12-11-2019 (12-11-2019, 10:36 PM)TheOldPresbyope Wrote: On my systems, mount error(13) is induced when I send a SMB server the wrong credentials (username/password). Just one might expect from mount's explanatory text message "Permission denied". Bingo! I don't know what was wrong with my old password, but it would work through the SSH window, but not through the Moode GUI. I had my password manager generate a new random password, changed the password for he account on the NAS, updated Moode and now all is good! Are there some characters that Moode can't handle in the password field? RE: Can't mount SMB share - TheOldPresbyope - 12-11-2019 But how did the password get transmitted in the manual test? I don't see a password entry in the mount command you told Tim worked manually Code: sudo mount -t cifs -o user=thetaj,vers=1.0,ro,dir_mode=0777,file_mode=0777 //MyFamilyNAS/music /mnt/NAS/MyFam There should be a "pass=xxxx," in there along with "user=thetaj,". If your password works there it should work with moOde's Music Source configuration. Anyway, all's well that ends well. Regards, Kent RE: Can't mount SMB share - TheTaj - 12-12-2019 (12-11-2019, 11:57 PM)TheOldPresbyope Wrote: But how did the password get transmitted in the manual test? I don't see a password entry in the mount command you told Tim worked manually I typed the password when prompted. I didn't try using the "pass=xxx" flag on the command line and the old password is long gone now so I don't have an easy way to reproduce the issue. Tonight I may play around with it some more to see if I can break it again. My suspicion is that there is either a forbidden character or a password length limit that I violated. |