i'm trying to use
cifs-utils to get files in another machine. In the other machine i've installed samba. Everything works fine if a try in the same machine (the one with samba) using cifs-util, but it doesn't if i try with another in the intranet. Here's what i've done:
- i've installed cifs-util
i've added the following line to the
//192.168.0.72/Triple_RDF /media/Triple cifs credentials=/home/ubuntu/.smbcredentials,iocharset=utf8,sec=ntlm 0 0
i've created the
and adding the lines
Of course i put my real username and password instead of [username] and [password].
then i changed the permits of the previous file typing:
chmod 600 ~/.smbcredentials
Since i'm using Ubuntu 14.04 it apppears an icon on the nautilius bar (the one on the left side), but when i click on it appens nothing. If i try to go inside of the "Triple" which now appears with my network resources the system says:
mount: only root can mount //192.168.0.72/Triple_RDF on /media/Triple.
I thought that may be it could be a problem of permits in the destination folder,
/media/Triple. So i changed those. Here my
ls -al output of the
drwxrwxr-x 2 user group 4096
where instead of user and group i put the real ones.
Anybody knows which could be the problem ?
Answer: make sure you have installed cifs-utils and you have user in the fstab entry.