On Wednesday, December 20, 2017 6:43:46 PM CET Joerg Schilling wrote: > Pavel Raiskup <prais...@redhat.com> wrote: > > > On Wednesday, December 20, 2017 1:41:38 PM CET Joerg Schilling wrote: > > > There still is a --acl option but no support for ACLs. > > > > There's no support for NTFS/NFSv4 ACLs in GNU tar, to un-confuse the > > statement. > > But the withdrawn POSIX.4 ACL interface proposal does not seem to be > supported > either. > > I am on a system that sports both - depending on the underlying filesystem.
Has ./configure detected the ACL support? ... checking for library containing acl_get_file... -lacl checking for library containing acl_get_fd... none required checking for library containing acl_set_file... none required checking for library containing acl_set_fd... none required checking for library containing acl_to_text... none required checking for library containing acl_from_text... none required checking for library containing acl_delete_def_file... none required checking for library containing acl_free... none required ... Pavel > BTW: With regard to the NTFS/NFSv4 ACLs, I recently enhanced star to use a > more > compact ACL format in this case. > > Here is what the old definition was: > > 30 atime=1383676106.725425278 > 30 ctime=1383676333.651257344 > 30 mtime=1383676106.725425278 > 324 > SCHILY.acl.ace=group:daemon:rwx-----------:-------:allow:12,user:root:rwx-----------:-------:allow:0,owner@:--x-----------:-------:deny,owner@:rw-p---A-W-Co-:-------:allow,group@:-wxp----------:-------:deny,group@:r-------------:-------:allow,everyone@:-wxp---A-W-Co-:-------:deny,everyone@:r-----a-R-c--s:-------:allow > 23 SCHILY.dev=47775747 > 17 SCHILY.ino=11 > 18 SCHILY.nlink=1 > 27 SCHILY.filetype=regular > > and here is the new compact format: > > 30 atime=1383676106.725425278 > 30 ctime=1383676333.651257344 > 30 mtime=1383676106.725425278 > 186 > SCHILY.acl.ace=group:daemon:rwx::allow:12,user:root:rwx::allow:0,owner@:x::deny,owner@:rwpAWCo::allow,group@:wxp::deny,group@:r::allow,everyone@:wxpAWCo::deny,everyone@:raRcs::allow > 23 SCHILY.dev=47775747 > 17 SCHILY.ino=11 > 18 SCHILY.nlink=1 > 27 SCHILY.filetype=regular > > that usually fits in a single 512 byte block. > > Jörg > >