I have problem mounting a network drive with fstab -> mount -a executed in bash.
My fstab looks like this:
//raspberrypi/NASHDD1/Download2/ /mnt/torpi/nashdd1/Download2/ cifs credentials=/home/balu/.torpi_smbcredentials,iocharset=utf8,sec=ntlm 0 0
# mount -a mount error(13): Permission denied
however, this will work just fine:
sudo mount -v -t cifs //raspberrypi/NASHDD1/Download2/ /mnt/torpi/nashdd1/Download2/ -o credentials=/home/balu/.torpi_smbcredentials
mount.cifs kernel mount options: ip=my.ip.add.ress,unc=\\raspberrypi\NASHDD1,user=pi,prefixpath=Download2/,pass=********
My raspberry pi smb.conf looks like this:
[NASHDD1] comment = my comment path = /media/pi/NASHDD1 browseable = yes read only = no public = no create mask=0777 directory mask=0777
I can reach said drive from both Nemo and from Windows explorer Now I am not a professional when it comes to Linux, so any insight in what I am missing is greatly appreciated.
P.S.: I read about a ton of threads hear about this error, but no avail.