General Discussion

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

NetApp_Journeyman
2,401 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
2,336 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
2,337 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
2,321 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
2,318 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