aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_read_disk_directory_traversals.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_read_disk_directory_traversals.c')
-rw-r--r--libarchive/test/test_read_disk_directory_traversals.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libarchive/test/test_read_disk_directory_traversals.c b/libarchive/test/test_read_disk_directory_traversals.c
index bbfe91ab8e5e..9efa74281b12 100644
--- a/libarchive/test/test_read_disk_directory_traversals.c
+++ b/libarchive/test/test_read_disk_directory_traversals.c
@@ -1833,6 +1833,8 @@ test_parent(void)
}
assertChdir("..");
+ assertChmod("lock", 0755);
+ assertChmod("lock/lock2", 0755);
/* Destroy the disk object. */
assertEqualInt(ARCHIVE_OK, archive_read_free(a));