Thank you for your bug report. While I absolutely agree that this is a
problem, I'm afraid that there's little that can be done about it. If we
change tar's behavior to not overwrite files, we break with traditional
tar behavior, which is something that many scripts rely upon. There are
common uses of tar that expect to replace the existing contents of a
directory with the contents of the archive ("extract over a directory").

Be that as it may, it may be worth considering aliasing "tar" to "tar
--backup" in the .bashrc's, so that interactive use of tar will not
destroy data by default. For this reason, I've switched this bug's
package to bash, for consideration.

** Changed in: bash (Ubuntu)
Sourcepackagename: tar => bash
   Importance: Undecided => Wishlist
     Assignee: (unassigned) => Micah Cowan
       Status: Unconfirmed => Confirmed

-- 
Tar overwrites without prompting by default
https://bugs.launchpad.net/bugs/113154
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to