Skip to main content
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.
NetApp Knowledge Base

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

Views:
75
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
Scan to view the article on your device
CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support