Skip to content

Commit 98d6f49

Browse files
committed
Minor change
1 parent a0ba5e3 commit 98d6f49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data-loader/cli/src/test/java/com/scalar/db/dataloader/cli/util/DirectoryUtilsTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ void validateOrCreateTargetDirectory_DirectoryNotWritable_ThrowsException() thro
5353
try {
5454
Set<PosixFilePermission> perms = new HashSet<>();
5555
perms.add(PosixFilePermission.OWNER_READ);
56-
perms.add(PosixFilePermission.OWNER_EXECUTE); // Allow entering directory
56+
perms.add(PosixFilePermission.OWNER_EXECUTE);
5757
Files.setPosixFilePermissions(readOnlyDirectory, perms);
5858
} catch (UnsupportedOperationException | IOException e) {
5959
// Fall back for systems without POSIX support
6060
readOnlyDirectory.toFile().setWritable(false);
6161
}
62-
// Verify it is actually non-writable
62+
// Verify it is actually non-writable
6363
boolean isWritable = Files.isWritable(readOnlyDirectory);
6464
Assumptions.assumeFalse(isWritable, "Directory is still writable; skipping test.");
6565

0 commit comments

Comments
 (0)