<?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 Re: Is there a way to apply two cifs permissions at the same time and have it propagate it downwards in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Is-there-a-way-to-apply-two-cifs-permissions-at-the-same-time-and-have-it/m-p/466377#M45344</link>
    <description>&lt;P&gt;Are you trying to apply read and write to the same resource? &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I haven’t worked with the ONTAP API, but I’ve used the NTFSSecurity module via PowerShell to collect, audit, and adjust NTFS permissions on SMB shares. &amp;nbsp;I definitely recommend. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It’s not a built-in PowerShell module. It needs to be installed or copied out to the $PSModulePath.&amp;nbsp;&lt;BR /&gt;&lt;A href="https://ntfssecurity.readthedocs.io/en/latest/" target="_blank"&gt;https://ntfssecurity.readthedocs.io/en/latest/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Mar 2026 14:33:34 GMT</pubDate>
    <dc:creator>BeckyLElliott</dc:creator>
    <dc:date>2026-03-20T14:33:34Z</dc:date>
    <item>
      <title>Is there a way to apply two cifs permissions at the same time and have it propagate it downwards ?</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Is-there-a-way-to-apply-two-cifs-permissions-at-the-same-time-and-have-it/m-p/466213#M45336</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are trying to append file permissions on to our CIFS shares. We want to add a permission for a group of users with read only access and also add a permission for a group of users with write access.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We use ONTAP APIs to do it and have created a python script&amp;nbsp; that would apply read-DL with read-permission(with propagate enabled), get the Job_UUID from the cluster and store it in a DB followed by applying write-DL with read+write-permissions(with propagate enabled), get the job_UUID from the cluster and store it in the same DB.&lt;BR /&gt;&lt;BR /&gt;the issue what we faced is: some of the subfolders and files had the read-DL permission applied, some had the write-DL permission applied, some subfolders having both read-DL and write-DL permission applied. Ideally the logic is to have both the read-DL and write-DL permissions applied for all subfolders and files underneath the parent share where we apply run the script. ( API calls )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing we noticed is, when we first apply the read-DL permissions (through API), wait for it complete and then execute the script for write-DL permission, it works. All files and sub-folders have both read-DL and write-DL permissions applied.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;is there a way we can apply read-DL permissions and write-DL permissions at the same time (parallely) on files and folders?&amp;nbsp;&lt;BR /&gt;Is this something the community has tried and implemented successfully ?&lt;BR /&gt;or are there any known caveats?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is this an API issue or a known behaviour of how NTFS handles DACLs inheritance / propagation ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;your help and pointers is highly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2026 04:56:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Is-there-a-way-to-apply-two-cifs-permissions-at-the-same-time-and-have-it/m-p/466213#M45336</guid>
      <dc:creator>vijayang</dc:creator>
      <dc:date>2026-03-10T04:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to apply two cifs permissions at the same time and have it propagate it downwards</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Is-there-a-way-to-apply-two-cifs-permissions-at-the-same-time-and-have-it/m-p/466377#M45344</link>
      <description>&lt;P&gt;Are you trying to apply read and write to the same resource? &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I haven’t worked with the ONTAP API, but I’ve used the NTFSSecurity module via PowerShell to collect, audit, and adjust NTFS permissions on SMB shares. &amp;nbsp;I definitely recommend. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It’s not a built-in PowerShell module. It needs to be installed or copied out to the $PSModulePath.&amp;nbsp;&lt;BR /&gt;&lt;A href="https://ntfssecurity.readthedocs.io/en/latest/" target="_blank"&gt;https://ntfssecurity.readthedocs.io/en/latest/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2026 14:33:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Is-there-a-way-to-apply-two-cifs-permissions-at-the-same-time-and-have-it/m-p/466377#M45344</guid>
      <dc:creator>BeckyLElliott</dc:creator>
      <dc:date>2026-03-20T14:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to apply two cifs permissions at the same time and have it propagate it downwards</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Is-there-a-way-to-apply-two-cifs-permissions-at-the-same-time-and-have-it/m-p/466408#M45350</link>
      <description>Thanks for the reply,&lt;BR /&gt;&lt;BR /&gt;With the NTFS security module, were you able to apply two different permissions on the same path and have it propagate it downwards?&lt;BR /&gt;What we are trying to do is simple.&lt;BR /&gt;&lt;BR /&gt;For a particular folder, we’d apply “dl-read” and “d—X” permissions at the same time and have it propagate it to the files and subfolders underneath it.&lt;BR /&gt;Any user who is a part of “dl-read” will have read access and any user who is a part of “dl-X” will have read, write, modify access.&lt;BR /&gt;&lt;BR /&gt;We tried it using APIs.&lt;BR /&gt;It works when we first apply the dl-Read permission, wait for a while to get this propagation completed. And then when we apply dl-X it propagates as expected.&lt;BR /&gt;But when we try applying simultaneously (without having to wait for the dl-read to complete the propagation ), some files have only dl-read and some have dl-X permissions.&lt;BR /&gt;&lt;BR /&gt;Ideally very single file should have both the permissions set.&lt;BR /&gt;&lt;BR /&gt;It would be nice if there is a documentation on how this can be achieved using powershell or any other tool.&lt;BR /&gt;&lt;BR /&gt;I suspect, we might be running into ACL race issue when using the APIs</description>
      <pubDate>Mon, 23 Mar 2026 05:42:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Is-there-a-way-to-apply-two-cifs-permissions-at-the-same-time-and-have-it/m-p/466408#M45350</guid>
      <dc:creator>vijayang</dc:creator>
      <dc:date>2026-03-23T05:42:39Z</dc:date>
    </item>
  </channel>
</rss>

