如何配置非 root 用户以使用 ONTAP 中的 NFS 更改文件的所有权
适用场景
- ONTAP 9
- 在集群模式下运行的Data ONTAP 8
问题描述
- 文件所有者可以更改权限并删除其创建的文件、但是、所有者无法将所有权更改为其他用户
- 如果NFS服务器上的chown模式选项设置为、则非root用户无法更改文件的所有权
unrestricted
- 如果chown模式选项设置为
use-export-policy
、并且适用的导出策略规则将chown模式设置为、则非root用户无法更改文件的所有权restricted
- Sectrace 确认:
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"