Opened 3 years ago
Last modified 3 years ago
#4992 closed enhancement
add coreutils-9.0 chmod patch — at Version 3
Reported by: | Xi Ruoyao | Owned by: | lfs-book |
---|---|---|---|
Priority: | normal | Milestone: | 11.1 |
Component: | Book | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by )
There is a bug in coreutils-9.0 causing chmod -R
to return non-zero when the directory contains dangling symlinks. It's minor, but breaking one test script in glibc-2.35 (will be released soon) if the tests are run as a non-root user (so not affecting LFS). And it also has the potential to break other scripts with set -e
(for example, jhalfs).
I've added the patch into patches repository, named coreutils-9.0-chmod_fix-1.patch
.
Note that this patch is needed in both Chapter 6 and Chapter 8, because it will affect glibc test.
Change History (3)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Maybe we can close this as WONTFIX then, but OTOH it's reported in {b,}lfs-dev several times and the upstream confirms it as a bug and has fixed it.
comment:3 by , 3 years ago
Description: | modified (diff) |
---|
It does not break glibc test (in LFS), because the affected one,
io/ftwtest
, is skipped running as root.