[Bug 2146464] Re: install doesn't overwrite files like coreutils
Daniel Tang
2146464 at bugs.launchpad.net
Sat Mar 28 07:23:06 UTC 2026
Filed upstream at https://github.com/uutils/coreutils/issues/11532
** Bug watch added: github.com/uutils/coreutils/issues #11532
https://github.com/uutils/coreutils/issues/11532
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2146464
Title:
install doesn't overwrite files like coreutils
Status in rust-coreutils package in Ubuntu:
Confirmed
Bug description:
The simplest reproducer is `echo hello | install -m644 /dev/stdin existing-file-to-be-overwritten.txt`
This works in coreutils, but fails with rust-coreutils.
I don't think this scripting pattern is uncommon:
```
{
# lots logic which echoes text
} | install <permissions and ownership> /dev/stdin possibly-existing-config-file
```
..which is now broken with rust-coreutils.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2146464/+subscriptions
More information about the foundations-bugs
mailing list