<?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 Error opening files with ACL length greater than 512 bytes in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/error-opening-files-with-acl-length-greater-than-512-bytes/m-p/7042900#M104614</link>
    <description>&lt;P&gt;When I am trying to sys$open file with ACLLEN &amp;gt; 512, I am receiving the error :&lt;/P&gt;&lt;P&gt;%RMS-E-ACC, ACP file access failed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following is the code snippet :&lt;/P&gt;&lt;P&gt;// Re-opening the file with longer ACL buffer&amp;nbsp;&lt;/P&gt;&lt;P&gt;SYS$CLOSE (&amp;amp;fab, 0, 0);&lt;/P&gt;&lt;P&gt;xabpro.xab$l_aclbuf = (char *) malloc (xabpro.xab$w_acllen);&lt;BR /&gt;xabpro.xab$w_aclsiz = xabpro.xab$w_acllen; // acllen was initialized during the previous sys$open&lt;/P&gt;&lt;P&gt;status = SYS$OPEN (&amp;amp;fab, 0, 0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, please note that&amp;nbsp;BYTLM was set to 256000 and MAXBUF is set to 8192. With xabpro.xab$w_aclsiz set to 512 or less, sys$open is successful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you suggest me a way to open a file with ACLLEN greater than 512 bytes&lt;/P&gt;</description>
    <pubDate>Thu, 18 Apr 2019 13:41:28 GMT</pubDate>
    <dc:creator>madhav_poddar</dc:creator>
    <dc:date>2019-04-18T13:41:28Z</dc:date>
    <item>
      <title>Error opening files with ACL length greater than 512 bytes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-opening-files-with-acl-length-greater-than-512-bytes/m-p/7042900#M104614</link>
      <description>&lt;P&gt;When I am trying to sys$open file with ACLLEN &amp;gt; 512, I am receiving the error :&lt;/P&gt;&lt;P&gt;%RMS-E-ACC, ACP file access failed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following is the code snippet :&lt;/P&gt;&lt;P&gt;// Re-opening the file with longer ACL buffer&amp;nbsp;&lt;/P&gt;&lt;P&gt;SYS$CLOSE (&amp;amp;fab, 0, 0);&lt;/P&gt;&lt;P&gt;xabpro.xab$l_aclbuf = (char *) malloc (xabpro.xab$w_acllen);&lt;BR /&gt;xabpro.xab$w_aclsiz = xabpro.xab$w_acllen; // acllen was initialized during the previous sys$open&lt;/P&gt;&lt;P&gt;status = SYS$OPEN (&amp;amp;fab, 0, 0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, please note that&amp;nbsp;BYTLM was set to 256000 and MAXBUF is set to 8192. With xabpro.xab$w_aclsiz set to 512 or less, sys$open is successful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you suggest me a way to open a file with ACLLEN greater than 512 bytes&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 13:41:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-opening-files-with-acl-length-greater-than-512-bytes/m-p/7042900#M104614</guid>
      <dc:creator>madhav_poddar</dc:creator>
      <dc:date>2019-04-18T13:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error opening files with ACL length greater than 512 bytes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-opening-files-with-acl-length-greater-than-512-bytes/m-p/7042909#M104615</link>
      <description>&lt;P&gt;&amp;gt; When I am trying to sys$open file with ACLLEN &amp;gt; 512, I am receiving the&lt;BR /&gt;&amp;gt; error :&lt;BR /&gt;&amp;gt; %RMS-E-ACC, ACP file access failed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I haven't looked at this stuff for about ten years, so I know&lt;BR /&gt;nothing, but there was a complaint about Info-ZIP Zip (3.0) having&lt;BR /&gt;problems with an ACL longer than 512 bytes.&amp;nbsp; The ACL-reading code was&lt;BR /&gt;changed to solve that problem.&amp;nbsp; If you're desperate for some example&lt;BR /&gt;code, then you might look at what's in [.vms]vms_pk.c in a (relatively)&lt;BR /&gt;recent Zip beta kit. For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="ftp://ftp.info-zip.org/pub/infozip/beta/zip31d.zip" target="_blank"&gt;ftp://ftp.info-zip.org/pub/infozip/beta/zip31d.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; As I recall, that problem did not involve the file open itself, but&lt;BR /&gt;rather reading the ACL.&amp;nbsp; As always, the Zip code may not be ideal, but&lt;BR /&gt;it might be educational.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 15:30:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-opening-files-with-acl-length-greater-than-512-bytes/m-p/7042909#M104615</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2019-04-18T15:30:46Z</dc:date>
    </item>
  </channel>
</rss>

