General Discussion
General Discussion
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)
Solved! See The Solution
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.
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.
Thank you!
Is there a way to get the size of each share btw? Without having to check properties for each share drive
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