I've created a remote mounted drive by adding this to my
\\192.x.x.x\web /mnt/web cifs username=X,password=X,domain=X
and mounting it with
sudo mount /mnt/web (which works perfectly!)
The problem is that I can only mount the drive as root. Running
mount /mnt/web (without sudo) results in the error
mount: only root can mount \192.x.x.x\web on /mnt/web
I read this guide that suggests the following syntax
//192.168.1.100/data /media/corpnet cifs username=johnny,domain=sealab,noauto,rw,users 0 0
When I change my entry to use this syntax like this:
\\192.x.x.x\web /mnt/web cifs username=X,password=X,domain=X,noauto,rw,users 0 0
mount /mnt/web I get
mount.cifs: permission denied: no match for /mnt/web found in /etc/fstab
I then read this question along with it's highest voted answer, but the same error appears.
I have checked that my
web folder in the
/mnt directory has CHMOD 775, which should be ok.
What could be wrong?