Skip to main content
NetApp Knowledge Base

A user with a custom role cannot rename Qtrees if they are restricted to two volumes

Views:
150
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

  • ONTAP 9
  • Role-Based Access Control (RBAC)
  • Qtree

Issue

  • A user with a custom role cannot rename Qtrees if they are restricted to two volumes:
cluster1::> security login role show -vserver svm1 -role QtreeTest*

                Role             Command/                                      Access
Vserver         Name             Directory                               Query Level
----------    -------------     ---------  ----------------------------------- --------
svm1          QtreeTestTwoVols   DEFAULT                                       none
                                 volume qtree               -volume vol1,vol2  all
              QtreeTestAllVols   DEFAULT                                       none
                                 volume qtree                                  all
              QtreeTestSingleVol DEFAULT                                       none
                                 volume qtree                    -volume vol1  all
6 entries were displayed.
  • Trying to rename a Qtree as the user gives an error:
cluster1::> qtree rename -volume vol1 -newname qtree1
Error: command failed: not authorized for that command
  • Deleting and creating Qtrees works
  • Restricting the role for one volume or for all volumes works
  • The Query is limited to a maximum of two entries

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.