Article ID: 2708985 - View products that this article applies to.
Users accessing NFS shares from a Windows Server 2008 R2 based NFS server may get the error “Permission Denied” while trying to run the ‘chown’ command from UNIX NFS clients. This can happen even though the user is the owner of the files. The UNIX "root" user does not exhibit these issues.
This behavior is caused due to the change in default value of the "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ServerForNfs\CurrentVersion\Exports\RestrictChown" registry key for Server for NFS component in Windows Server 2008 R2. This change was introduced with Windows 2008 R2 and was different with respect to the default Windows behavior.
This change was introduced due to the following considerations:
o change this behavior, change the value of the following registry key to 0 and restart Server for NFS:
In a failover cluster environment, run the following command to set this value:
cluster resource <NFS-Resource> /privproperties RestrictChown=0
On Windows Server 2008 and earlier, you can change the value of this registry key to 1 to change the chown behavior to match that of Windows Server 2008 R2.
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.
Contact us for more help
Connect with Answer Desk for expert help.