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

Brian Burkhalter bpb at openjdk.org
Wed Aug 16 15:54:49 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 a comment about retyring on EACCES

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15214/files
  - new: https://git.openjdk.org/jdk/pull/15214/files/2e044467..39b07548

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

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