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

Brian Burkhalter bpb at openjdk.org
Fri May 30 18:10:09 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: Change view used to set directory permissions

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

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

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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