We have an EMC storage appliance that serves Windows Shares via CIFS protocol.
On Ubuntu I need to create a mount-point that maps the Windows Share.
When I run this shell script :
sudo apt-get install -y smbfs
sudo mkdir -p /mapdir
sudo mount -t smbfs -o username=domain/user,password=password //server/share /mapdir
I receive this error :
mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
The domain/user and password are known to be correct.
What are potential causes of the permission denied error ?
Could passing plain-text credentials not apply in this scenario ?
sudo -i
first and then run the mount command, to confirm ifsudo
is the culprit.