]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Fix id handling in archive_acl_(from|to)_text* for NFSv4 ACLs
authorMartin Matuska <martin@matuska.org>
Mon, 9 Jan 2017 23:36:58 +0000 (00:36 +0100)
committerMartin Matuska <martin@matuska.org>
Mon, 9 Jan 2017 23:48:20 +0000 (00:48 +0100)
commitbdcaa280e5bd6f5bda0c3c754032df36faf4e74b
tree9f128270cfdb0edc90f3b39fa3dadd1af9037c69
parent14de003185b3008d85a4acb46e3539d330c1e9eb
Fix id handling in archive_acl_(from|to)_text* for NFSv4 ACLs

Always append id if ARCHIVE_ENTRY_ACL_STYLE_EXTRA_ID flag is set.
Try interpreting the name field as a numeric id.

This matches behavior of the "star" archiver.
libarchive/archive_acl.c