Summary: | sys-apps/busybox: consider disabling FEATURE_NON_POSIX_CP | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | kfm <kfm> |
Component: | Current packages | Assignee: | Embedded Gentoo Team <embedded> |
Status: | CONFIRMED --- | ||
Severity: | normal | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | sys-apps-busybox-1.36.1-r4-disable-FEATURE_NON_POSIX.patch |
Created attachment 902502 [details, diff] sys-apps-busybox-1.36.1-r4-disable-FEATURE_NON_POSIX.patch By default, busybox enables the FEATURE_NON_POSIX_CP option. As is implied by its name, it results in some rather flagrant POSIX violations. In particular, it causes for the destination file to be unlinked in the case that it already exists, losing the mode, access time, birth time and other attributes borne by the original inode. I think that this option should be disabled by the ebuild. The commit message of the attached patch presents my case in further detail.