RFR: 8357425: (fs) SecureDirectoryStream setPermissions should use fchmodat [v4]

Brian Burkhalter bpb at openjdk.org
Mon Jun 2 16:16:07 UTC 2025


> 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.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8357425: Use try-with-resources in test

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25534/files
  - new: https://git.openjdk.org/jdk/pull/25534/files/bf2316ed..bf2a80f0

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25534&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25534&range=02-03

  Stats: 56 lines in 1 file changed: 15 ins; 15 del; 26 mod
  Patch: https://git.openjdk.org/jdk/pull/25534.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25534/head:pull/25534

PR: https://git.openjdk.org/jdk/pull/25534


More information about the nio-dev mailing list