Public bug reported:
```
$ podman run --rm -it ubuntu:26.04
$ apt update -y; apt upgrade -y
$ ulimit -n
1048576
$ gnumkdir -p $(yes a/ | head -n $((32 * 1024)) | tr -d '\n')
$ chown -R root:root a
Segmentation fault (core dumped) chown -R root:root a
$ chmod -R 777 a
Segmentation fault (core dumped) chmod -R 777 a
$ chgrp -R root a
Segmentation fault (core dumped) chgrp -R root a
$ du a
Segmentation fault (core dumped) du a
````
All of the GNU programs work fine:
```
$ gnuchown -R root:root a; echo $?
0
$ gnuchmod -R 777 a; echo $?
0
$ gnuchgrp -R 777 a; echo $?
0
$ gnudu a | wc -l
32768
```
** Affects: rust-coreutils (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167204
Title:
chown, chmod, chgrp, and du segfault due to recursive calls
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2167204/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs