<?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 Broken file-list-info permissions for ONTAP-created files in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Broken-file-list-info-permissions-for-ONTAP-created-files/m-p/16285#M147</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to sort this out still, but it seems that files created by ONTAP get bogus permissions via file-list-info. Note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13256196756429043" jivemacro_uid="_13256196756429043"&gt;&lt;P&gt;&amp;lt;file-info&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;filersid.cfg.bak&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;file-type&amp;gt;file&amp;lt;/file-type&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;creation-timestamp&amp;gt;1325619291&amp;lt;/creation-timestamp&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;modified-timestamp&amp;gt;1325619291&amp;lt;/modified-timestamp&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;changed-timestamp&amp;gt;1325619291&amp;lt;/changed-timestamp&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;accessed-timestamp&amp;gt;1325619291&amp;lt;/accessed-timestamp&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;perm&amp;gt;1044&amp;lt;/perm&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;owner-id&amp;gt;0&amp;lt;/owner-id&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;group-id&amp;gt;0&amp;lt;/group-id&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;file-size&amp;gt;68&amp;lt;/file-size&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;hard-links-count&amp;gt;1&amp;lt;/hard-links-count&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;inode-number&amp;gt;6855717&amp;lt;/inode-number&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;acl-type&amp;gt;no_acl&amp;lt;/acl-type&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/file-info&amp;gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...versus:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13256196641383615" jivemacro_uid="_13256196641383615"&gt;&lt;P&gt;-bash-3.00$ stat filersid.cfg.bak &lt;/P&gt;&lt;P&gt;&amp;nbsp; File: `filersid.cfg.bak'&lt;/P&gt;&lt;P&gt;&amp;nbsp; Size: 68&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks: 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IO Block: 32768&amp;nbsp; regular file&lt;/P&gt;&lt;P&gt;Device: 1bh/27d Inode: 6855717&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Links: 1&lt;/P&gt;&lt;P&gt;Access: (0440/-r--r-----)&amp;nbsp; Uid: (&amp;nbsp;&amp;nbsp;&amp;nbsp; 0/&amp;nbsp;&amp;nbsp;&amp;nbsp; root)&amp;nbsp;&amp;nbsp; Gid: (&amp;nbsp;&amp;nbsp;&amp;nbsp; 0/&amp;nbsp;&amp;nbsp;&amp;nbsp; root)&lt;/P&gt;&lt;P&gt;Access: 2012-01-03 11:34:51.665523000 -0800&lt;/P&gt;&lt;P&gt;Modify: 2012-01-03 11:34:51.674537000 -0800&lt;/P&gt;&lt;P&gt;Change: 2012-01-03 11:34:51.674537000 -0800&lt;/P&gt;&lt;P&gt;-bash-3.00$ &lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears the internal permissions are '10440' (the leading 1 being wafl-specific) and then the resultant string is sliced to the first 4 chars (rather than masking it off). For example, chmod'ing a legit sticky bit onto the file (1440) yields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_132561996899047" jivemacro_uid="_132561996899047"&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;perm&amp;gt;1144&amp;lt;/perm&amp;gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The behavior follows if a file is copied (either via ZAPI or NFS), but a new file created via NFS shows the correct behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is in the root volume, with a unix qtree style, so it wouldn't seem to be shenanigans from a mixed security style. Seeing this on both 8.0.1P5 and 7.3.2P4 systems, haven't bothered hunting for other variants.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 06:38:27 GMT</pubDate>
    <dc:creator>kevingraham</dc:creator>
    <dc:date>2025-06-05T06:38:27Z</dc:date>
    <item>
      <title>Broken file-list-info permissions for ONTAP-created files</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Broken-file-list-info-permissions-for-ONTAP-created-files/m-p/16285#M147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to sort this out still, but it seems that files created by ONTAP get bogus permissions via file-list-info. Note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13256196756429043" jivemacro_uid="_13256196756429043"&gt;&lt;P&gt;&amp;lt;file-info&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;filersid.cfg.bak&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;file-type&amp;gt;file&amp;lt;/file-type&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;creation-timestamp&amp;gt;1325619291&amp;lt;/creation-timestamp&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;modified-timestamp&amp;gt;1325619291&amp;lt;/modified-timestamp&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;changed-timestamp&amp;gt;1325619291&amp;lt;/changed-timestamp&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;accessed-timestamp&amp;gt;1325619291&amp;lt;/accessed-timestamp&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;perm&amp;gt;1044&amp;lt;/perm&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;owner-id&amp;gt;0&amp;lt;/owner-id&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;group-id&amp;gt;0&amp;lt;/group-id&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;file-size&amp;gt;68&amp;lt;/file-size&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;hard-links-count&amp;gt;1&amp;lt;/hard-links-count&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;inode-number&amp;gt;6855717&amp;lt;/inode-number&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;acl-type&amp;gt;no_acl&amp;lt;/acl-type&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/file-info&amp;gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...versus:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13256196641383615" jivemacro_uid="_13256196641383615"&gt;&lt;P&gt;-bash-3.00$ stat filersid.cfg.bak &lt;/P&gt;&lt;P&gt;&amp;nbsp; File: `filersid.cfg.bak'&lt;/P&gt;&lt;P&gt;&amp;nbsp; Size: 68&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks: 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IO Block: 32768&amp;nbsp; regular file&lt;/P&gt;&lt;P&gt;Device: 1bh/27d Inode: 6855717&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Links: 1&lt;/P&gt;&lt;P&gt;Access: (0440/-r--r-----)&amp;nbsp; Uid: (&amp;nbsp;&amp;nbsp;&amp;nbsp; 0/&amp;nbsp;&amp;nbsp;&amp;nbsp; root)&amp;nbsp;&amp;nbsp; Gid: (&amp;nbsp;&amp;nbsp;&amp;nbsp; 0/&amp;nbsp;&amp;nbsp;&amp;nbsp; root)&lt;/P&gt;&lt;P&gt;Access: 2012-01-03 11:34:51.665523000 -0800&lt;/P&gt;&lt;P&gt;Modify: 2012-01-03 11:34:51.674537000 -0800&lt;/P&gt;&lt;P&gt;Change: 2012-01-03 11:34:51.674537000 -0800&lt;/P&gt;&lt;P&gt;-bash-3.00$ &lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears the internal permissions are '10440' (the leading 1 being wafl-specific) and then the resultant string is sliced to the first 4 chars (rather than masking it off). For example, chmod'ing a legit sticky bit onto the file (1440) yields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_132561996899047" jivemacro_uid="_132561996899047"&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;perm&amp;gt;1144&amp;lt;/perm&amp;gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The behavior follows if a file is copied (either via ZAPI or NFS), but a new file created via NFS shows the correct behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is in the root volume, with a unix qtree style, so it wouldn't seem to be shenanigans from a mixed security style. Seeing this on both 8.0.1P5 and 7.3.2P4 systems, haven't bothered hunting for other variants.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:38:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Broken-file-list-info-permissions-for-ONTAP-created-files/m-p/16285#M147</guid>
      <dc:creator>kevingraham</dc:creator>
      <dc:date>2025-06-05T06:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Broken file-list-info permissions for ONTAP-created files</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Broken-file-list-info-permissions-for-ONTAP-created-files/m-p/16289#M148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You may want to ask this question in the &lt;A href="https://forums.netapp.com/community/support" target="_blank"&gt;NetApp Support Community.&lt;/A&gt;&amp;nbsp; The current customers, partners and internal Subject Matter Experts are addressing technical product questions there.&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2012 00:41:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Broken-file-list-info-permissions-for-ONTAP-created-files/m-p/16289#M148</guid>
      <dc:creator>crocker</dc:creator>
      <dc:date>2012-01-06T00:41:29Z</dc:date>
    </item>
  </channel>
</rss>

