Opened 3 years ago
Closed 3 years ago
#4992 closed enhancement (fixed)
add coreutils-9.0 chmod patch
Reported by: | Xi Ruoyao | Owned by: | Bruce Dubbs |
---|---|---|---|
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 (5)
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) |
---|
comment:4 by , 3 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed at commit a5d31dd654840c3e5990fd1b3f29831b2cc01cf6
Package updates and a patch. Add coreutils-9.0 chmod patch. Update to glibc-2.35. Update to linux-5.16.5. Update to findutils-4.9.0. Update to expat-2.4.4. Update to iana-etc-20220128.
It does not break glibc test (in LFS), because the affected one,
io/ftwtest
, is skipped running as root.