

The / will be automatically changed to \ in Windows. In order to create a directory in Windows you should use: Windows unfortunatelly doesn't support POSIX file systems so this is why your code doesn't work. This file attribute view provides read and write access to these attributes` Operating systems that implement the POSIX family of standards commonly use file systems that have a file owner, group-owner, and related access permissions.

You use PosixFilePermission which can be used only with operating systems which are compatibile with POSIX:Ī file attribute view that provides a view of the file attributes commonly associated with files on file systems used by operating systems that implement the Portable Operating System Interface (POSIX) family of standards.
