Stephan van Hulst wrote:The exception message implies that you can hide the file after you have created it. Have you tried that?
Yes, I have. And Files.setAttribute(...) works just fine.
I was trying to find out whether it is possible to achieve the same via File.createFile() or not..