As a part of mass Linux deployment, I need to mount some windows shares which the users need very frequently. For windows machines, I map network drives and they use seamlessly.
For linux -
I am able to mount the shares by cifs mount and adding them to fstab to make it permanent.
With this the problem occurred is the users were not getting write access to the mounted shares. I fixed it by adding the option rw. For example, my command to mount a share is like this:
mount -t cifs //server/share /folder -o rw,domain=xxx,username=winuser,password=xxx
In this way the users get write access through command line, but when they try to create a file, copy/paste/move a file or folder by Nautilus, it says permission denied. The users are not much familiar with Linux hence they need to do everything via GUI.
Also I noticed, after mounting the share, the user's ownership gets changed to root:root.
Please suggest some way to work this out.....I have got assignment to fix this asap.
Thanks in advance.
Windows? reboot. Linux! be root!!