Quantcast
Channel: ONTAP Discussions topics
Viewing all articles
Browse latest Browse all 4982

Setting NTFS ACL permission via the ONTAP PowerShell module

$
0
0

 

Hello,

 

How can I apply NTFS permissions using the ONTAP PowerShell module? I can't use Set-Acl because I can't pass credentials to it for automation.

 

When provisioning CIFS shares using the Add-NcCifsShare command, I can see ACL is included... usually the Everyone group since it's a new share. See below.

 

add-nccifsshare.png

I can also see the permission I applied via the GUI in Windows show up using Get-NcFileDirectorySecurity and looking at the Acls property. What ONTAP command can I use to apply a AD group and say Read/Execute/List, and another AD group to Modify?

 

Get-ncfiledirectory.png


Viewing all articles
Browse latest Browse all 4982

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>