We have a Debian 8 with an NFS server exported with
"/client-share *(rw,sync,no_subtree_check,all_squash,anonuid=1000,anongid=1000)" that works just fine when transferring files from a Windows machine NFS client. Normally, files are located in the NFS server with the mask permissions of the uid and gid as per the configuration eg:
The problem is that if the file transferred from Windows machine is marked read-only(ntfs), picture:
Than it breaks the permissions and the file located at the NFS server will have read-only permissions as:
The Windows NFS client properties are also configured with the right gid/uid. We have tried using ACLs with setfacl -m "default:group:rwx" /nfs but that doesn't work either. Files are being transferred as 'read-only'.
How can we overcome that?