How to configure non-root users to change ownership of files using NFS in ONTAP
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 torestricted
- 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"