[Rpm-maint] [rpm-software-management/rpm] Relocatable packages with plain `/` in `%files` can't be installed as regular user (Issue #3173)

Michal Domonkos notifications at github.com
Tue Jul 30 15:52:07 UTC 2024


Thanks for the suggestions! Indeed, going one directory upwards would've been the solution (and I had a working patch for that already)... except then I realized the root cause was actually a bit different. We weren't populating the package's dirname list (when processing relocations) correctly as we didn't insert the *parent* of the relocation target into it. With any other prefixes, this already worked fine, just not with the sole `/`. Fixed in #3223.

As for the "don't even try to remove `/`", that's a separate issue that I'll patch separately later (it's easy, just need to re-check something).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3173#issuecomment-2258677172
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/3173/2258677172 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240730/c0613576/attachment.html>


More information about the Rpm-maint mailing list