File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
data-loader/cli/src/test/java/com/scalar/db/dataloader/cli/util Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments