Closed theobisproject closed 1 year ago
I'm on it. This may take a moment.
I just released 2.4.0 to Maven Central. Can you give it a try and let me know whether it works for you?
LGTM. The tests I wanted to implement now have the same result as on a real fs. Thank you for the quick fix!
I am trying to write a test where the user is not allowed to read the file due to missing Linux file permissions. The following test can be sucessfully run on a real file system but fails on the memory file system.
I would expect that after the
Files.setPosixFilePermission
call reading and writing to the file is no longer possible.For comparison here the same with Linux tools. (Note: the file content can be read with cat when using sudo).
I hope I'm not missing something obvious. The project is a great help when working with file interactions. Thank you and keep up the great work!