Tim Woodall - 2024-09-05

Attached is a fix. There was a fix in debian for a very long time for the same underlying issue for files. the difference was that for files, restore worked but a restore -C failed. That half fix meant that restore -C worked for directories even though the restore didn't.

This patch combines the existing patch in debian with the fix for the xattr for dirs such that restore and restore -C both work correctly.