跳转到主内容

root用户无法在Kerberos挂载中使用chown和chmod更改文件所有权和权限

Views:
2
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas<a>2009年884060</a>
Last Updated:

适用场景

  • ONTAP 9
  • NFS
  • Kerberos

问题描述

  • NFS客户端使用Kerberos挂载UNIX卷
  • root用户无法通过chown或chmod更改文件所有权和权限
[admin@c01 ~] sudo chown xxy:gxxy /mnt/ntap/test
[sudo] Password for admin:
chown: Unable to access “/mnt/ntap/test”: No authorization
  • 数据包跟踪显示ONTAP响应 NFS4ERR_PERM 客户端的 SETATTR 呼叫以更新 所有权信息
  • superuser security typeany 在导出策略规则中设置为
  • KRB-UNIX名称映射可显示计算机帐户与pcuser的映射
::> vserver name-mapping show -vserver svm1 -direction krb-unix 
Vserver:  svm1
Direction: krb-unix
Position Hostname     IP Address/Mask
-------- ---------------- ----------------
1    -         -        Pattern: (.+)\$@NTAP.LOCAL
                      Replacement: pcuser
 

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.

 

  • 这篇文章对您有帮助吗?