Skip to main content
NetApp Knowledge Base

How to configure non-root users to change ownership of files using NFS in ONTAP

Views:
4,161
Visibility:
Public
Votes:
5
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP 9
  • Data ONTAP 8 operating in Cluster Mode

Description

  • The owner of a file is able to change permission and delete files that they create, however, the owner is unable to change ownership to another user
  • Non-root users are unable to change ownership of files if the chown-mode option on the NFS server is set to unrestricted
  • Non-root users are unable to change ownership of files if the chown-mode option is set to use-export-policy and the applicable export policy rule has chown-mode set to restricted
  • Sectrace confirms:
Node            Index Filter                     Details Reason
--------------- ----- -------------------------- ------------------------------
node-01         1     Security Style: UNIX 
                                                  Access is denied. The owner permissions can be changed only by root while setting attributes. 
                                                  Access is not granted for: "Write Owner"

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.