I want to preface my question saying that I am relatively weak with Linux and the command line and also StackExchange.
I am trying to set-up a network drive from a different unix machine.
I have followed this guide on how to permanently mount a network drive
sudo mount -a
Results in:
enter codemount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
My fstab looks like:
//[url to server]/[path to my folder to link] [path to local folder to mount] cifs credentials=[path to credentials file],uid=1000,gid=1000,iocharset=utf8,file_mode=0777,dir_mode=0777,sec=ntlm 0 0
The fstab looks little different as given in the guide but only because I used a template from coleagues that had the exact same set-up with the only difference of it working. The credentials file has the same username and password I use to SSH into the machine.
Verbose mount output was not much helpful either:
mount.cifs kernel mount options: ip=[IP],unc=\\[url]\apriede,iocharset=utf8,file_mode=0777,dir_mode=0777,sec=ntlm,uid=1000,gid=1000,user=apriede,prefixpath=projects,pass=********
Most problems I found while searching for an answer had an issue with an unset or wrong sec option, which I know should be correct in my instance because it works for my coleagues, so I hope it validates my question as a new one.
mount -a
runs under root anyway. – Incnis Mrsi Sep 14 '15 at 14:22