We have a Windows 2008 R2 Cluster with File Serving Applications, serving home directories over CIFS & NFS.
We have a Centos Linux Server, which has all of the home directories NFS Mounted, this has an SSH/SFTP Server running for users to remotely and securely upload/download files from their home directories.
The standard permissions on home folders are Administrators(f),System(f),%username%(f), these are then inherited to any files or folders below.
The home folder's owner is the %username%
The issue, when a user uploads a file using SFTP to the NFS mounted home folder, it removes the inherited permissions and replaces them with <not inherited> and permission entries of %username%(special),TheUsersDomainGroup(r), Everyone(r)
So long as the user is present, which it is, the user can still access their own files, but its making administration a nightmare, as system/administrator now have no access and have to take ownership then add permission.
How can nfs server on the cluster be configured to stop this behaviour of removing the inherited permissions of files that are added via nfs?