On Thu, 18 Jul 2024 14:16:21 GMT, Lutz Schmidt <l...@openjdk.org> wrote:
>> Looks trivial. Can you hint on how to reproduce the issue? E.g. for which >> file I should remove the user write permission to get the build failing? > > Thank you for the review, @RealCLanger ! > > Creating a reproducer is not completely trivial. There are two file > properties that must be true at the same time: > > 1. The destination file must be read-only after copying > 2. The destination file must have extended attributes attached. > > You can prepare any source file accordingly (file mode and attributes are > copied with the command parameters used). In my setup, > `make/langtools/tools/propertiesparser/resources/templates.properties` has an > extended attribute, but r/w permissions. If I change those to r/o, the build > will fail without the fix. > > According to my experience, it is unpredictable which files will satisfy the > above requirements. On good days, no file has attributes attached while being > r/o. On bad days, there are multiple such files. Hello @RealLucy, On a general note, after removing the extended attributes, should we consider switching the permissions of that file back to the original? ------------- PR Comment: https://git.openjdk.org/jdk/pull/20203#issuecomment-2236816100