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)

 

3 REPLIES 3

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

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

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

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

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

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

 

Earn Rewards for Your Review!
GPI Review Banner
All Community Forums
Public