RFR: 8357425: (fs) SecureDirectoryStream setPermissions should use fchmodat

Brian Burkhalter bpb at openjdk.org
Fri May 30 15:58:52 UTC 2025


On Fri, 30 May 2025 08:13:53 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> The newDirectoryStream methods return a SecureDirectoryStream on platforms that support all the "at" syscalls (list is in UnixNativeDispatcher.c)

Note that I did not add `fchmodat` to this list of capabilities for all the "at" syscalls as it appears to be supported at least on all configurations [certified for Oracle JDK 24](https://bugs.openjdk.org/browse/JDK-8357425?focusedId=14782741&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14782741). I am not sure about AIX however.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/25534#issuecomment-2922769346


More information about the nio-dev mailing list