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

Bug Watch Updater 2146464 at bugs.launchpad.net
Tue Mar 31 11:42:40 UTC 2026


** Changed in: rust-coreutils
       Status: Unknown => New

-- 
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:
  New
Status in rust-coreutils package in Ubuntu:
  Triaged

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/rust-coreutils/+bug/2146464/+subscriptions




More information about the foundations-bugs mailing list