NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

General Discussion

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

NetApp_Journeyman
5,041 Views

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
4,976 Views

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
4,977 Views

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.

NetApp_Journeyman
4,961 Views

Thank you!


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

parisi
4,958 Views

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

 

Public