Files.newDirectoryStream(Path, LinkOption...)
Colin Decker
cgdecker at google.com
Wed Feb 12 09:45:26 PST 2014
Why is there no method for opening a DirectoryStream that allows
NOFOLLOW_LINKS? SecureDirectoryStream has such a method, but ironically it
isn't possible to get a SecureDirectoryStream in the first place without
the possibility of following a symbolic link. Any number of other methods,
including those for reading attributes and opening streams/channels, do
allow NOFOLLOW_LINKS, so why not newDirectoryStream?
--
Colin Decker | Software Engineer | cgdecker at google.com | Java Core
Libraries Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20140212/81e4b1ee/attachment.html
More information about the nio-dev
mailing list