跳转到主内容

写入新卷时拒绝访问

Views:
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas<a>2010042158</a>
Last Updated:

适用场景

ONTAP 9

问题描述

  • 非root用户的UNIX用户 无法写入文件。他们收到拒绝访问错误。
  • Sectrace显示以下错误 : 

Vserver: svm1
Node       Index Filter Details        Reason
--------------- ----- -------------------------- ------------------------------
Cluster1-01   1   Security Style: UNIX     Access is denied by UNIX
            permissions         permissions while creating
                         the file. Access is not
                         granted for: "Synchronize",
                         "Read Control", "Read
                         Attributes", "Execute", "Read
                         EA", "Write"
                      Protocol: nfs
                      Volume: vol1
                      Share: -
                      Path: /vol1/testfile.
                      txt
                      Win-User: -
                      UNIX-User: 123456
                      Session-ID: -
             ​​​​​​

  • 文件目录仅显示root用户对路径具有完全权限。

::> file-directory show -vserver svm -path /vol1/test.txt
  (vserver security file-directory show)

         Vserver: svm
        File Path: /vol1/test.txt
    File Inode Number: 64
     Security Style: unix
     Effective Style: unix
     DOS Attributes: 10
 DOS Attributes in Text: ----D---
Expanded Dos Attributes: -
      UNIX User Id: 0
      UNIX Group Id: 0
     UNIX Mode Bits: 755
 UNIX Mode Bits in Text: rwxr-xr-x
          ACLs: -

 

 

 

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.