You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Bear Giles (JIRA)" <ji...@apache.org> on 2011/07/01 16:30:28 UTC
[jira] [Created] (COMPRESS-138) Add support for ACLs
Add support for ACLs
--------------------
Key: COMPRESS-138
URL: https://issues.apache.org/jira/browse/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: http://www.atlassian.com/software/jira