Skip to main content
NetApp Knowledge Base

Using NFS v4.x in-band security and have anonymous access to ONTAP mount

Views:
1,060
Visibility:
Public
Votes:
2
Category:
ontap-9
Specialty:
NAS
Last Updated:

Applies to

  • ONTAP 9
  • NFS 4.1
  • NFS 4.2

Issue

  • When running NFSv4.1 client command ls -l (or ll), the user and group show up erroneously as 99 as shown below:
centos01$ ls -al mydir/
total 8
drwxr-xr-x. 2 99 99 4096 Jul 22 07:33 .
drwxrwxrwx. 4 99 99 4096 Jul 22 07:33 ..
-rw-r--r--. 1 99 99    0 Jul 22 07:33 foo
  • root volume export has Superuser Security Types set to none

::> export-policy rule show -vserver SVM  -inst

                                    Vserver: SVM
                                Policy Name: default
                                 Rule Index: 1
                            Access Protocol: nfs
List of Client Match Hostnames, IP Addresses, Netgroups, or Domains: 0.0.0.0/0
                             RO Access Rule: any
                             RW Access Rule: any
User ID To Which Anonymous Users Are Mapped: 65534
                   Superuser Security Types: none
               Honor SetUID Bits in SETATTR: true
                  Allow Creation of Devices: true

  • NFS permissions cannot be changed using chmod by any user as the file is owned by anonymous

 

 

 

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.