Summary: | security.capability extended attribute not preserved between different filesystems | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Arfrever Frehtes Taifersar Arahesis <arfrever.fta> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kensington |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=648840 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 651804 | ||
Attachments: | Patch |
Description
Arfrever Frehtes Taifersar Arahesis
2018-03-03 03:00:37 UTC
Created attachment 522246 [details, diff]
Patch
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=ad72389ed8067d740dd0e3f975a33f0c1cbfd8b5 commit ad72389ed8067d740dd0e3f975a33f0c1cbfd8b5 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> AuthorDate: 2018-03-04 02:25:34 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2018-03-04 02:37:09 +0000 movefile: Fix preservation of security.capability xattr Call _apply_stat() before copying extended attributes, because _apply_stat() calls os.chown() which results in deleting security.capability extended attribute. Bug: https://bugs.gentoo.org/649418 pym/portage/util/movefile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)} Thanks! Fixed in portage-2.3.40-r1. |