Unable to run the chown command from UNIX clients

Recently we had an issue where the user from the Unix clients were unable to run the ‘chown’ command. They were getting permission denied.

We were getting the error ‘Permission denied’ even when the owner of the file was running the chown command. The permission on the files was 755.

We checked the NTFS permission from the Windows side and the owner had full control on the share. With more research we found the registry key “Restrictchown” under

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ServerForNfs\CurrentVersion\Exports

We set the value for the registry key to ‘0’ and restarted server for NFS. This resolved the issue.