Take the 2-minute tour ×  I mounted a Windows share to my Ubuntu
11.10 system via adding the following line to the /etc/fstab:
//serveraddr/sharedfolder /mnt/foldername/ smbfs
credentials=/home/myname/.smbpasswd 0 0  using the tutorial
here.  But there's a problem with the permissions. The owner of
the mount folder is root. I can not create any folders or files
in the mounted point is I don't become the root. Even I can not
change the ownership to my default user via  sudo chown -R
myname .  I googled and saw that it might stem from the fact
that Windows file formats (fat32/ntfs) can not save ownership.
But when I connect to the same location via samba as   by
providing my credentials, I have the privileges to write without
being the root.  How can I make it to let me write to the
mounted folder?  share|improve this question add comment  1
Answer  up vote 15 down vote accepted  Don't use smbfs, the new
protocol's name is cifs and its part of the package cifs-tools
(install it if you did not already.  Instead