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.

ONTAP Discussions

Setting NTFS DACLS using Cluster CLI

darraghos
4,829 Views

On my OnTap 9.3 cluster I have a large CIFS estate with many files in many shares and deep nesting of folders. I have +1m files and +50000 folders. I need to add some NTFS permissions at the root DACL of the share CIFS volume. Doing this over CIFS using windows file explorer or compmgmt.msc is taking days. Is there any CLI option that I could leverage to set these permissions directly against the filesystem from the cluter CLI or the like? Doing to over CIFS is just very slow. I seem to remember in 7-mode some CLI options for this but not familiar with C-Mode options. 

1 ACCEPTED SOLUTION

Mjizzini
4,801 Views

You should be able to use the below commands set to change NTFS permissions from CLI.

> vserver security file-directory 
> vserver security file-directory ntfs 

vserver security file-directory commands

View solution in original post

3 REPLIES 3

Mjizzini
4,802 Views

You should be able to use the below commands set to change NTFS permissions from CLI.

> vserver security file-directory 
> vserver security file-directory ntfs 

vserver security file-directory commands

darraghos
4,620 Views

Thanks for taking the time out to reply. Much appreciated 😁.

Public