ONTAP Discussions

Setting NTFS DACLS using Cluster CLI

darraghos
3,246 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
3,218 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
3,219 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
3,037 Views

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

Public