commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bear Giles (JIRA)" <>
Subject [jira] [Created] (COMPRESS-138) Add support for ACLs
Date Fri, 01 Jul 2011 14:30:28 GMT
Add support for ACLs

                 Key: COMPRESS-138
             Project: Commons Compress
          Issue Type: New Feature
            Reporter: Bear Giles

I'm wrapping up the dump archive reader and don't know how to present ACL information. In
this case the ACL information is stored after the data so I can't simply add it to the archive-specific
Entry class - it will only be available after the end of the data stream is reached.

More generally this problem occurs with other extended attributes, e.g., SELinux labels. 
You can also have this problem with MacOS specific streams, e.g., the finder stream.

One possibility is returning an ArchiveEntry for the extended attributes. It can have a isMetadata()
method to indicate it's extended attributes. This has a huge downside though since legacy
code would replace the file contents with the extended attributes so we would want an explicit
acknowledgement that the code is prepared to handle it, e.g., by a constructor flag.

Is there a better way to handle this?

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message