Integrated: 8062795: (fs) Files.setPermissions requires read access when NOFOLLOW_LINKS specified

Brian Burkhalter bpb at openjdk.org
Wed Aug 16 17:57:21 UTC 2023


On Wed, 9 Aug 2023 23:02:26 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: 6b396da2
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/6b396da278094d7109ad2fbe7a1a52a500e15d75
Stats:     82 lines in 2 files changed: 68 ins; 2 del; 12 mod

8062795: (fs) Files.setPermissions requires read access when NOFOLLOW_LINKS specified

Reviewed-by: alanb

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

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


More information about the nio-dev mailing list