> On Apr 8, 2024, at 10:20 AM, Rob Whitlock <rwhitlock22%gmail.com@localhost> wrote:
Attachment:
METALOG.diff
Description: Binary data
>> On Apr 5, 2024, at 8:47 AM, Martin Husemann <martin%duskware.de@localhost> = > wrote: [snip] >> This is a bug and should be fixed. > > I have included a patch below that fixes the problem, as well as a typo = > and it also writes the owner and group for other directories, which were = > missing in the METALOG. I also included the mode, even though 0755 is = > the default and it was being written into the METALOG already. > > The patch does not address the issue that directories are written to = > METALOG redundantly, however this doesn't seem to cause an issue because = > METLOG.sanitized is created without the duplicates. I somehow missed that the previous patch fails when DESTDIR doesn't exist. The attached patch corrects this.