I'm having issues getting my Windows file share to auto mount in Ubuntu Server 18.10.
sudo mount.cifs //192.168.1.96/Media /mnt/Media -o email@example.com'
will prompt for a password, and upon entering it will mount correctly.
In /etc/fstab there is a line which looks like this
//192.168.1.96/Media /mnt/Media cifs credentials=/mnt/.smbcred 0 0
and /mnt/.smbcred looks like
sudo mount -a
will give the error
mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
I've tried adding a combination of
after credentials=/mnt/.smbcred but no change in the result.
Does anyone have any ideas?