cifs continued
In addition to previous post as to CIFS.
You may encounter “permission denied” error upon adding or modifying files.
You can avoid this error by adding following options in /etc/fstab.
uid=<user>,gid=<group>
Replace each value respectively by your own user and default group.
//<MS_HOST>/<ShareName> /windows/server1 cifs credentials=<HOME>/cifs/passwd,uid=<user>,gid=<group>,iocharset=utf8,sec=ntlm 0 0