RFR: 8357425: (fs) SecureDirectoryStream setPermissions should use fchmodat
Brian Burkhalter
bpb at openjdk.org
Fri May 30 16:02:51 UTC 2025
On Thu, 29 May 2025 23:37:26 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Modify to use the `fchmodat(2)` system call to set permissions where possible to do so. This fixes the problem presented in the issue description.
It is supported on [AIX 7.1.0](https://www.ibm.com/docs/en/aix/7.1.0?topic=c-chmod-fchmod-fchmodat-subroutine) which dates from September 2010.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25534#issuecomment-2922779696
More information about the nio-dev
mailing list