メインコンテンツへスキップ

Kerberosマウントでchownとchmodを使用してrootユーザがファイルの所有権と権限を変更できない

Views:
83
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas<a>2009884060</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
  • パケットトレースは、 NFS4ERR_PERM  SETATTR  所有権情報を更新するためのクライアントの呼び出しにONTAPが応答することを示します。
  • 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.

 

  • この記事は役に立ちましたか?