Skip to main content
NetApp Knowledge Base

NFS client retains read-write access despite restrictive export-policy rule

Views:
54
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP 9
  • NFSv3
  • Export-policy

Issue

  • The export policy rule is configured with read-only (RO) intent
  • The NFS client 192.168.0.4 continues to have read-write (RW) access
  • The export policy contains multiple rules
  • Unmounting and remounting the export on the client does not change the access behavior

Example:
Vserver: svm01
Policy Name: policy01
Rule Index: 1
Access Protocol: any

List of Client Match Hostnames, IP Addresses, Netgroups, or Domains:
192.168.0.1,192.168.0.2,192.168.0.3

RO Access Rule: any
RW Access Rule: any
User ID To Which Anonymous Users Are Mapped: 0
Superuser Security Types: none
Honor SetUID Bits in SETATTR: true
Allow Creation of Devices: true

Vserver: svm01
Policy Name: policy01
Rule Index: 2
Access Protocol: any

List of Client Match Hostnames, IP Addresses, Netgroups, or Domains:
192.168.0.4

RO Access Rule: any
RW Access Rule: never
User ID To Which Anonymous Users Are Mapped: 65534
Superuser Security Types: none
Honor SetUID Bits in SETATTR: true
Allow Creation of Devices: true

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.