RFR: 8062795: (fs) Files.setPermissions requires read access when NOFOLLOW_LINKS specified [v2]

Brian Burkhalter bpb at openjdk.org
Thu Aug 10 00:40:00 UTC 2023


> If setting POSIX permissions while not following links fails with `AccessDeniedException` but the path does not contain any symbolic links, then retry the operation as if the `NOFOLLOW_LINKS` option had not been specified.

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

  8062795: Add missing bug ID to test

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15214/files
  - new: https://git.openjdk.org/jdk/pull/15214/files/add38151..1cf6b36c

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/15214.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15214/head:pull/15214

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


More information about the nio-dev mailing list