Skip to content

Commit 92c325a

Browse files
committed
Test zip and unzip directory permission preservation
1 parent b082d41 commit 92c325a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

os/test/src/ZipOpTests.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ object ZipOpTests extends TestSuite {
267267
val source = wd / "folder2"
268268
val link = os.rel / "nestedA" / "link.txt"
269269
if (!scala.util.Properties.isWin) {
270+
os.perms.set(source / "nestedA", os.PermSet.fromString("rwxrwxrwx"))
270271
os.perms.set(source / "nestedA" / "a.txt", os.PermSet.fromString("rw-rw-rw-"))
271272
os.symlink(source / link, os.rel / "a.txt")
272273
}

0 commit comments

Comments
 (0)