RFR: 8062795: (fs) Files.setPermissions requires read access when NOFOLLOW_LINKS specified [v3]
Brian Burkhalter
bpb at openjdk.org
Tue Aug 15 15:02:32 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: Open the path with write access instead of checking for links
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/15214/files
- new: https://git.openjdk.org/jdk/pull/15214/files/1cf6b36c..2e044467
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=15214&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=15214&range=01-02
Stats: 59 lines in 2 files changed: 18 ins; 23 del; 18 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