Problem with cifs-util. Mount: only root can mount [closed]
Just add users in /etc/fstab
like that:
//192.168.0.72/Triple_RDF /media/Triple cifs credentials=/home/ubuntu/.smbcredentials,iocharset=utf8,sec=ntlm,users 0 0
Normally, only the superuser can mount filesystems. However, when fstab contains the user option on a line, anybody can mount the corresponding system.
Or if you want any user to mount/unmount the drives use users instead.
I solved the same problem by adding the UID info as an admin user from my Linux machine, so my /etc/fstab
line now looks like this:
//192.168.1.X/Multimedia /media/dungeonmultimedia cifs uid=[linuxadminuser],username=[nasadminuser],password=[nasadminpass] 0 0
Actually the problem was that I hadn't restarted the system, so I had mounted nothing.
Restarting the system or just forcing the mount everything works perfectly. I've just typed:
sudo mount -a