With Ubuntu 17.04, I had created the following line in /etc/fstab to permanently mount a network drive. It worked perfectly.
//nas/shared/ /media/nas cifs username=(username),password=(pass),uid=1000,gid=1000,iocharset=utf8,sec=ntlm 0 0
However, the same code isn't working in Ubuntu 17.10 (clean installation, not an update). It shows the shared folder, but clicking on it throws an "operation permitted for root only" message.
You should note that I have done the necessary chown -R on the /media/nas folder.
I even tried to access the share with a sudo nautilus, and I am getting this error.
I have extensively read the MountWindowsSharesPermanently page on the Ubuntu wiki, but to no avail.
Any idea what I am doing wrong? Or could it be just a 17.10 bug?