Files.createFile() does not ignore umask on Unix systems, is this expected?

Alan Bateman Alan.Bateman at oracle.com
Sun Dec 28 13:01:18 UTC 2014


On 20/12/2014 09:55, Francis Galiegue wrote:
> :
>
> Which means that despite my specifying a 666 mode for creation, the
> umask did apply. I'd have expected it not to...
>
> The documentation does not say anything about this particular
> scenario, but it this the intended behaviour?
>
The javadoc in PosixFileAttributeView has a section entitled "Setting 
Initial Permissions" on this topic.

-Alan.


More information about the nio-dev mailing list