[Bug 2146464] [NEW] install doesn't overwrite files like coreutils

Emil Renner Berthing 2146464 at bugs.launchpad.net
Thu Mar 26 14:57:53 UTC 2026


Public bug reported:

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.

** Affects: rust-coreutils (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- install doesn't overwrite files like corutils
+ install doesn't overwrite files like coreutils

-- 
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:
  New

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