Ubuntu cannot write to windows shared folder
Posted on 2013-05-31
The last couple of questions have been dealing with ubuntu being a client hosted on a windows server 2012 hyperVisor, and having a shared folder that both can access. Hypervisor does not have this utility standard so shenanigans must ensue. I have successfully created a shared folder on the windows server, and a user to match. That users credentials are then used in a /etc/fstab to automount the share at bootup. Both operations work. I can create files that the other device, can see and vice versa. The windows user the one whose very credentials are being used to login to the share have Read&Write priviledges.
Here is the rub, I have an application that runs in the ubuntu, that needs to be able to write to the mounted share. I get nothing but problems. If the share is mounted then I cannot chown, when the share is unmounted I can change ownership of the directory,but as soon as I mount the share I cannot write to the share from linux side. And the ubuntu side is the one that needs to be able to read/write to the shared folder that sits on the windows server.
In short, I have an application that needs Read/Write access/privledges to the windows share.
How do I make this happen?