From c411e0b8f90ca767b1ca3c027bea4ed3bd095193 Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Sun, 25 Sep 2016 01:30:34 +0200 Subject: [PATCH] Add READ_DATA dir permission to @owner to make test cleanup work for non-root --- libarchive/test/test_acl_freebsd_nfs4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libarchive/test/test_acl_freebsd_nfs4.c b/libarchive/test/test_acl_freebsd_nfs4.c index fd2301d1f..89861d6ea 100644 --- a/libarchive/test/test_acl_freebsd_nfs4.c +++ b/libarchive/test/test_acl_freebsd_nfs4.c @@ -93,7 +93,7 @@ static struct myacl_t acls_reg[] = { static struct myacl_t acls_dir[] = { /* For this test, we need to be able to read and write the ACL. */ - { ARCHIVE_ENTRY_ACL_TYPE_ALLOW, ARCHIVE_ENTRY_ACL_READ_ACL, + { ARCHIVE_ENTRY_ACL_TYPE_ALLOW, ARCHIVE_ENTRY_ACL_READ_DATA | ARCHIVE_ENTRY_ACL_READ_ACL, ARCHIVE_ENTRY_ACL_USER_OBJ, -1, ""}, /* An entry for each type. */ -- 2.47.2