Hash :
47947855
Author :
Date :
2024-07-15T14:48:41
qcopy-acl: Fix copying of ACLs on CentOS 7 (regression 2023-01-12). * lib/qcopy-acl.c: Include <string.h>, <linux/xattr.h>. (XATTR_NAME_NFSV4_ACL, XATTR_NAME_POSIX_ACL_ACCESS, XATTR_NAME_POSIX_ACL_DEFAULT): New macros, from file-has-acl.c. (is_attr_permissions): Test for these names explicitly. * m4/acl.m4 (gl_QCOPY_ACL): New macro. * modules/qcopy-acl (Files): Add m4/acl.m4. (configure.ac): Invoke gl_QCOPY_ACL.
Description:
Copy access control list from one file to another. (Unportable.)
Files:
lib/qcopy-acl.c
m4/acl.m4
m4/xattr.m4
Depends-on:
acl-permissions [test "$use_xattr" != yes]
configure.ac:
gl_QCOPY_ACL
Makefile.am:
lib_SOURCES += qcopy-acl.c
Include:
"acl.h"
Link:
$(QCOPY_ACL_LIB)
License:
GPL
Maintainer:
Paul Eggert, Jim Meyering