General Discussion

A way to extracting a list of security permissions for every share on vservers

NetApp_Journeyman

Hi everyone,

 

I was looking for a command to list of security permissions associated with each share. The standard "cifs share show -vserver * command only returns share permissions. I'd like the security permissions on the share folder itself (modify, full control, etc)

 

1 ACCEPTED SOLUTION

parisi

Have a look at page 113 of this TR:

 

https://www.netapp.com/us/media/tr-4835.pdf 

 

That lets you get permissions from ONTAP for files and folders. But it's per file or folder; not for all files at once.

 

For all files/folders, you'd want to use icacls or some other tool to script and query files, or find a 3rd party tool that can do that for you.

View solution in original post

3 REPLIES 3

parisi

Have a look at page 113 of this TR:

 

https://www.netapp.com/us/media/tr-4835.pdf 

 

That lets you get permissions from ONTAP for files and folders. But it's per file or folder; not for all files at once.

 

For all files/folders, you'd want to use icacls or some other tool to script and query files, or find a 3rd party tool that can do that for you.

View solution in original post

NetApp_Journeyman

Thank you!


Is there a way to get the size of each share btw? Without having to check properties for each share drive

parisi

ONTAP 9.8 provides File System Analytics, which would show that info:

 

https://blog.netapp.com/ontap-file-system-analytics

 

If you can't upgrade to 9.8, you can use XCP to do the same.

 

https://blog.netapp.com/xcp-data-migration-software

 

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public