]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Add READ_DATA dir permission to @owner to make test cleanup work for non-root
authorMartin Matuska <martin@matuska.org>
Sat, 24 Sep 2016 23:30:34 +0000 (01:30 +0200)
committerMartin Matuska <martin@matuska.org>
Sat, 24 Sep 2016 23:43:23 +0000 (01:43 +0200)
libarchive/test/test_acl_freebsd_nfs4.c

index fd2301d1f3dd49ed8c59aaeff88ee42a5d961468..89861d6eadf9fa847b17d6dfa31b2a892646f817 100644 (file)
@@ -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. */