<?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 FileDirectorySecurity call in Python library not returning anything in Python Discussions</title>
    <link>https://community.netapp.com/t5/Python-Discussions/FileDirectorySecurity-call-in-Python-library-not-returning-anything/m-p/170609#M62</link>
    <description>&lt;P&gt;We have just upgraded to ONTAP 9.9.1 so I upgraded our Python library to 9.9.1 as I need to retrieve/update the NTFS permissions using the&amp;nbsp;FileDirectorySecurity module.&lt;BR /&gt;&lt;BR /&gt;However when I perform a get I'm not getting any return.&lt;BR /&gt;The call isn't erroring out even when I use incorrect filters.&lt;BR /&gt;Example of code ( which is direct copy from the documentation -&amp;nbsp;&lt;A href="https://library.netapp.com/ecmdocs/ECMLP2876965/html/resources/file_directory_security.html" target="_blank"&gt;https://library.netapp.com/ecmdocs/ECMLP2876965/html/resources/file_directory_security.html&lt;/A&gt;)&lt;BR /&gt;###&lt;BR /&gt;resource = FileDirectorySecurity(path="na_student_videos",**{"svm.uuid": "2059c57e-04b3-11e9-a63b-00a09899b75b"})&lt;BR /&gt;resource.get&lt;BR /&gt;print (resource)&lt;BR /&gt;###&lt;BR /&gt;&lt;BR /&gt;When I test the REST API call using curl it returns data as expected.&lt;BR /&gt;curl -u XXXX -X GET "&lt;A href="https://array-name/api/protocols/file-security/permissions/2059c57e-04b3-11e9-a63b-00a09899b75b/%2Fna_student_videos/?fields=acls&amp;amp;return_records=true&amp;amp;return_timeout=15" target="_blank"&gt;https://array-name/api/protocols/file-security/permissions/2059c57e-04b3-11e9-a63b-00a09899b75b/%2Fna_student_videos/?fields=acls&amp;amp;return_records=true&amp;amp;return_timeout=15&lt;/A&gt;" -H "accept application/hal+json"&lt;BR /&gt;&lt;BR /&gt;Has anyone used the&amp;nbsp;FileDirectorySecurity module or can provide advice on why it's not working.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 10:11:56 GMT</pubDate>
    <dc:creator>Greg_pebkac</dc:creator>
    <dc:date>2025-06-04T10:11:56Z</dc:date>
    <item>
      <title>FileDirectorySecurity call in Python library not returning anything</title>
      <link>https://community.netapp.com/t5/Python-Discussions/FileDirectorySecurity-call-in-Python-library-not-returning-anything/m-p/170609#M62</link>
      <description>&lt;P&gt;We have just upgraded to ONTAP 9.9.1 so I upgraded our Python library to 9.9.1 as I need to retrieve/update the NTFS permissions using the&amp;nbsp;FileDirectorySecurity module.&lt;BR /&gt;&lt;BR /&gt;However when I perform a get I'm not getting any return.&lt;BR /&gt;The call isn't erroring out even when I use incorrect filters.&lt;BR /&gt;Example of code ( which is direct copy from the documentation -&amp;nbsp;&lt;A href="https://library.netapp.com/ecmdocs/ECMLP2876965/html/resources/file_directory_security.html" target="_blank"&gt;https://library.netapp.com/ecmdocs/ECMLP2876965/html/resources/file_directory_security.html&lt;/A&gt;)&lt;BR /&gt;###&lt;BR /&gt;resource = FileDirectorySecurity(path="na_student_videos",**{"svm.uuid": "2059c57e-04b3-11e9-a63b-00a09899b75b"})&lt;BR /&gt;resource.get&lt;BR /&gt;print (resource)&lt;BR /&gt;###&lt;BR /&gt;&lt;BR /&gt;When I test the REST API call using curl it returns data as expected.&lt;BR /&gt;curl -u XXXX -X GET "&lt;A href="https://array-name/api/protocols/file-security/permissions/2059c57e-04b3-11e9-a63b-00a09899b75b/%2Fna_student_videos/?fields=acls&amp;amp;return_records=true&amp;amp;return_timeout=15" target="_blank"&gt;https://array-name/api/protocols/file-security/permissions/2059c57e-04b3-11e9-a63b-00a09899b75b/%2Fna_student_videos/?fields=acls&amp;amp;return_records=true&amp;amp;return_timeout=15&lt;/A&gt;" -H "accept application/hal+json"&lt;BR /&gt;&lt;BR /&gt;Has anyone used the&amp;nbsp;FileDirectorySecurity module or can provide advice on why it's not working.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:11:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Python-Discussions/FileDirectorySecurity-call-in-Python-library-not-returning-anything/m-p/170609#M62</guid>
      <dc:creator>Greg_pebkac</dc:creator>
      <dc:date>2025-06-04T10:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: FileDirectorySecurity call in Python library not returning anything</title>
      <link>https://community.netapp.com/t5/Python-Discussions/FileDirectorySecurity-call-in-Python-library-not-returning-anything/m-p/170795#M63</link>
      <description>&lt;P&gt;I've had a response from the NetApp developers and they have confirmed that this is a bug in the library code to be fixed in a future release.&lt;BR /&gt;In the meantime will need to use the python requests library for the endpoint (api/protocols/file-security/permissions) to retrieve the information.&lt;BR /&gt;Unfortunately that means recoding my scripting and having to use different methodology to the other calls as I am trying to use the python module.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 21:22:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Python-Discussions/FileDirectorySecurity-call-in-Python-library-not-returning-anything/m-p/170795#M63</guid>
      <dc:creator>Greg_pebkac</dc:creator>
      <dc:date>2021-10-12T21:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: FileDirectorySecurity call in Python library not returning anything</title>
      <link>https://community.netapp.com/t5/Python-Discussions/FileDirectorySecurity-call-in-Python-library-not-returning-anything/m-p/171123#M64</link>
      <description>&lt;P&gt;Thank you for the update&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/60677"&gt;@Greg_pebkac&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 05:11:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Python-Discussions/FileDirectorySecurity-call-in-Python-library-not-returning-anything/m-p/171123#M64</guid>
      <dc:creator>tahmad</dc:creator>
      <dc:date>2021-10-26T05:11:39Z</dc:date>
    </item>
  </channel>
</rss>

