<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Set NTFS Permissions Errors - vserver security file-directory in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Set-NTFS-Permissions-Errors-vserver-security-file-directory/m-p/136830#M30160</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want/need to leverage either the NetApp shell or the NetApp powershell modules in order to apply NTFS permissions at a (way) higher speed. I have a lot of very large shares (millions of files each) and need to revisit their permissions. Doing it in Windows, even on a server on the same network as the storage, takes forever.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The catch: I need to set up the permisisons for a specific account&amp;nbsp;&lt;STRONG&gt;twice&lt;/STRONG&gt;. So I have &lt;U&gt;two allow entries for the same account&lt;/U&gt;. To make it simpler to describe, let's say that DOMAIN\GroupA needs Modify rights on Subfolders and Files and Read on This folder only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I know how to apply permissions with both the PS module and with the shell, I know I need a policy etc. It all works when I don't use the same account twice. So I'm only gonna post the two lines of codes that should do what I need).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In powershell, the two lines for this specific setting would be ($VolName is the share and $VServer the netapp appliance):&lt;/P&gt;&lt;PRE&gt;Add-NcFileDirectorySecurityNtfsDacl -Account "DOMAIN\GroupA" -AccessType allow -Rights modify -NtfsSd $VolName -VserverContext $Vserver -ApplyTo sub_folders,files
Add-NcFileDirectorySecurityNtfsDacl -Account "DOMAIN\GroupA" -AccessType allow -Rights read -NtfsSd $VolName -VserverContext $Vserver -ApplyTo this_folder&lt;/PRE&gt;&lt;P&gt;In the shell (also works with a single entry) the two lines of code would be:&lt;/P&gt;&lt;PRE&gt;vserver security file-directory ntfs dacl add -ntfs-sd MYSHARE -vserver VSERVERNAME -access-type allow -account "domain\GroupA" -rights modify -apply-to sub-folders,files
vserver security file-directory ntfs dacl add -ntfs-sd MYSHARE -vserver VSERVERNAME -access-type allow -account "domain\GroupA" -rights read -apply-to this-folder&lt;/PRE&gt;&lt;P&gt;Here's the error from PS:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="netapp_error_1.png" style="width: 824px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/7945iF5A70AD2ED4675E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="netapp_error_1.png" alt="netapp_error_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shell error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="netapp_error_2.png" style="width: 896px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/7946i1EE3FA69F4D0225D/image-size/large?v=v2&amp;amp;px=999" role="button" title="netapp_error_2.png" alt="netapp_error_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also saw somebody else with the same error here:&lt;BR /&gt;&lt;A href="https://community.netapp.com/t5/Microsoft-Cloud-and-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-5-released/td-p/135904" target="_blank"&gt;https://community.netapp.com/t5/Microsoft-Cloud-and-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-5-released/td-p/135904&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated!&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 14:13:34 GMT</pubDate>
    <dc:creator>sicortsl17</dc:creator>
    <dc:date>2025-06-04T14:13:34Z</dc:date>
    <item>
      <title>Set NTFS Permissions Errors - vserver security file-directory</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Set-NTFS-Permissions-Errors-vserver-security-file-directory/m-p/136830#M30160</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want/need to leverage either the NetApp shell or the NetApp powershell modules in order to apply NTFS permissions at a (way) higher speed. I have a lot of very large shares (millions of files each) and need to revisit their permissions. Doing it in Windows, even on a server on the same network as the storage, takes forever.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The catch: I need to set up the permisisons for a specific account&amp;nbsp;&lt;STRONG&gt;twice&lt;/STRONG&gt;. So I have &lt;U&gt;two allow entries for the same account&lt;/U&gt;. To make it simpler to describe, let's say that DOMAIN\GroupA needs Modify rights on Subfolders and Files and Read on This folder only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I know how to apply permissions with both the PS module and with the shell, I know I need a policy etc. It all works when I don't use the same account twice. So I'm only gonna post the two lines of codes that should do what I need).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In powershell, the two lines for this specific setting would be ($VolName is the share and $VServer the netapp appliance):&lt;/P&gt;&lt;PRE&gt;Add-NcFileDirectorySecurityNtfsDacl -Account "DOMAIN\GroupA" -AccessType allow -Rights modify -NtfsSd $VolName -VserverContext $Vserver -ApplyTo sub_folders,files
Add-NcFileDirectorySecurityNtfsDacl -Account "DOMAIN\GroupA" -AccessType allow -Rights read -NtfsSd $VolName -VserverContext $Vserver -ApplyTo this_folder&lt;/PRE&gt;&lt;P&gt;In the shell (also works with a single entry) the two lines of code would be:&lt;/P&gt;&lt;PRE&gt;vserver security file-directory ntfs dacl add -ntfs-sd MYSHARE -vserver VSERVERNAME -access-type allow -account "domain\GroupA" -rights modify -apply-to sub-folders,files
vserver security file-directory ntfs dacl add -ntfs-sd MYSHARE -vserver VSERVERNAME -access-type allow -account "domain\GroupA" -rights read -apply-to this-folder&lt;/PRE&gt;&lt;P&gt;Here's the error from PS:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="netapp_error_1.png" style="width: 824px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/7945iF5A70AD2ED4675E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="netapp_error_1.png" alt="netapp_error_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shell error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="netapp_error_2.png" style="width: 896px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/7946i1EE3FA69F4D0225D/image-size/large?v=v2&amp;amp;px=999" role="button" title="netapp_error_2.png" alt="netapp_error_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also saw somebody else with the same error here:&lt;BR /&gt;&lt;A href="https://community.netapp.com/t5/Microsoft-Cloud-and-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-5-released/td-p/135904" target="_blank"&gt;https://community.netapp.com/t5/Microsoft-Cloud-and-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-5-released/td-p/135904&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated!&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:13:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Set-NTFS-Permissions-Errors-vserver-security-file-directory/m-p/136830#M30160</guid>
      <dc:creator>sicortsl17</dc:creator>
      <dc:date>2025-06-04T14:13:34Z</dc:date>
    </item>
  </channel>
</rss>

