diff options
author | Alois Wohlschlager <alois1@gmx-topmail.de> | 2024-09-10 18:05:32 +0200 |
---|---|---|
committer | Alois Wohlschlager <alois1@gmx-topmail.de> | 2024-09-14 10:36:22 +0200 |
commit | 3f07c65510d5f907c75803e7d58884bdafb78132 (patch) | |
tree | b65e61a3d9e3a3b166baec680c63f55835d044aa /releng/keys.py | |
parent | cc183fdbc14ce105a5661d646983f791978b9d5c (diff) |
local-store: make extended attribute handling more robust
* Move the extended attribute deletion after the hardlink sanity check. We
shouldn't be removing extended attributes on random files.
* Make the entity owner-writable before attempting to remove extended
attributes, since this operation usually requires write access on the file,
and we shouldn't fail xattr deletion on a file that has been made unwritable
by the builder or a previous canonicalisation pass.
Fixes: https://git.lix.systems/lix-project/lix/issues/507
Change-Id: I7e6ccb71649185764cd5210f4a4794ee174afea6
Diffstat (limited to 'releng/keys.py')
0 files changed, 0 insertions, 0 deletions