跳转到主内容

使用chown或chmod时、拒绝通过NFS将root访问UNIX vol的权限

适用场景

  • ONTAP 9
  • NFS
  • 安全模式UNIX

问题描述

  • chownchmod 使用UNIX安全模式对卷或qtree执行NFS导出时、以root用户身份执行命令或失败:permission denied
  • 写入任务也可能失败
  • 卷或qtree安全模式或有效安全模式 为UNIX。 

注意: 这不适用于 NTFS 安全模式。访问NTFS 安全模式卷的UNIX用户应无法更改权限或所有权

  • vserver export-policy rule show 输出将显示 超级用户策略类型 设置为 none

示例:

::> export-policy rule show -vserver svm1 -policyname default -ruleindex 1 -fields superuser
vserver policyname ruleindex superuser
------- ---------- --------- ---------
svm1    default   1      none

 

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.