[OpenIndiana-discuss] libarchive - Solaris ACL support

Martin Matuska martin at matuska.org
Fri Jan 13 22:40:17 UTC 2017


Dear Openindiana 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).

I have tested building libarchive with the following dependencies:
developer/build/autoconf
developer/build/automake
developer/build/libtool
developer/build/pkg-config
developer/gcc-5
developer/gnu-binutils
library/lint
system/header

The ACL support will be included in libarchive 3.3 release. It would be
great to see bsdtar, bsdcpio and bsdcat packages for Openindiana.

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

Thank you,
Martin Matuska



More information about the openindiana-discuss mailing list