8000 javalib Files.copy overloads may not be copying file or directory Access Control Lists · Issue #4358 · scala-native/scala-native · GitHub
[go: up one dir, main page]

Skip to content
javalib Files.copy overloads may not be copying file or directory Access Control Lists #4358
@LeeTibbert

Description

@LeeTibbert

This is a forget-me-not.

For my sins, I have been in the javalib Files.copy code. Based on my reading of that code, many times,
tracing the proper copying, or not, of 'normal' file permissions and the lack of anything testing ACLs
(Access Control Lists) in unit-tests FilesTest.scala, I strongly suspect that the various Files.copy()
overloads do not also copy the ACL, when COPY_ATTRS is specified.

I have not checked the JDK documentation, but in my many close readings of the JDK 24 javadoc for
those methods, I have not seen anything which would lead me to expect that ACLs should be excluded.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0