[OmniOS-discuss] libarchive and OmniOS - ACL support

Martin Matuska martin at matuska.org
Thu Jan 12 21:30:42 UTC 2017


Dear OmniOS developers and users,

I have fixed compilation issues and finalized Solaris-style ACL support
(POSIX.1e and NFSv4) and added it to libarchive's master branch.
https://github.com/libarchive/libarchive

Libarchive stores ACLs in tar archives using the SCHILY.acl attributes
(SCHILY.acl.access, SCHILY.acl.default and SCHILY.acl.ace), in a
compatible way with the "star" archiver by Jörg Schilling.

ACLs that exactly mirror the mode (see acl_is_trivial_np() in FreeBSD)
are treated like no ACLs and are not stored (e.g if there is one
additional ACE or one of the trivial ACEs is modified the whole ACL is
stored).

To build libarchive, I the following dependencies are required:
developer/build/autoconf
developer/build/automake
developer/build/libtool
developer/gcc51
developer/object-file
developer/pkg-config
system/header

An OmniOS build is now available in our CI, too.

The support will be included in libarchive 3.3 release. It would be
great to see a libarchive 3.3 package for OmniOS (including all three
tools bsdar, bsdcpio and bsdcat).

We would appreciate any feedback at libarchive (testing, bugfixes, code
review, suggestions).

Thank you,
Martin Matuska


More information about the OmniOS-discuss mailing list