]> Dogcows Code - chaz/tar/commitdiff
acls: bugfix for default ACLs extraction
authorPavel Raiskup <praiskup@redhat.com>
Mon, 3 Feb 2014 09:32:24 +0000 (10:32 +0100)
committerSergey Poznyakoff <gray@gnu.org.ua>
Fri, 14 Feb 2014 10:38:20 +0000 (12:38 +0200)
When --acls option is on (regardless of tarball contents or
tarball format), we should explicitly set OR delete default ACLs
for extracted directories.  Prior to this update, we always
created arbitrary default ACLs based standard file permissions.

* configure.ac (with_posix_acls): Check also for acl_free and
acl_delete_def_file to mark IEEE 1003.1e ACLs as supported.
* src/xattrs.c (acl_delete_def_file_at): New function.
(xattrs__acls_set): Do not treat acls_option at all;  Delete
default ACLs if appropriate.

References:
http://www.mail-archive.com/bug-tar@gnu.org/msg04355.html
Thanks: Juan J. Martínez and Mark Steinborn


No differences found
This page took 0.018833 seconds and 4 git commands to generate.