I add a folder in /etc/fstab:
//172.30.12.37/test/ /home/my/test cifs user=afs,pass=123456,auto,exec,umask=002,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0
Now test link can be seen in nautilus sidebar. But when I click on this icon, an error will be displayed:
mount: only root can mount //172.30.12.37/test/ on /home/my/test
How I can mount this folder from terminal with root user?
sudo mount -a– Rahul Patil Dec 27 '12 at 9:11sudo mount -t cifs //172.30.12.37/test /home/my/afs37/? – Karlson Dec 27 '12 at 16:52