- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Error opening files with ACL length greater than 5...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2019 06:41 AM
04-18-2019 06:41 AM
Error opening files with ACL length greater than 512 bytes
When I am trying to sys$open file with ACLLEN > 512, I am receiving the error :
%RMS-E-ACC, ACP file access failed
Following is the code snippet :
// Re-opening the file with longer ACL buffer
SYS$CLOSE (&fab, 0, 0);
xabpro.xab$l_aclbuf = (char *) malloc (xabpro.xab$w_acllen);
xabpro.xab$w_aclsiz = xabpro.xab$w_acllen; // acllen was initialized during the previous sys$open
status = SYS$OPEN (&fab, 0, 0);
Also, please note that 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.
Can you suggest me a way to open a file with ACLLEN greater than 512 bytes
- Tags:
- OpenVMS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2019 08:30 AM
04-18-2019 08:30 AM
Re: Error opening files with ACL length greater than 512 bytes
> When I am trying to sys$open file with ACLLEN > 512, I am receiving the
> error :
> %RMS-E-ACC, ACP file access failed
I haven't looked at this stuff for about ten years, so I know
nothing, but there was a complaint about Info-ZIP Zip (3.0) having
problems with an ACL longer than 512 bytes. The ACL-reading code was
changed to solve that problem. If you're desperate for some example
code, then you might look at what's in [.vms]vms_pk.c in a (relatively)
recent Zip beta kit. For example:
ftp://ftp.info-zip.org/pub/infozip/beta/zip31d.zip
As I recall, that problem did not involve the file open itself, but
rather reading the ACL. As always, the Zip code may not be ideal, but
it might be educational.