Re: tar command dangerously written
From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 05/20/05
- Next message: Patrick TJ McPhee: "Re: Comparing 2 similar strings?"
- Previous message: tridentadm: "Re: printing variable values seperately."
- In reply to: danson: "Re: tar command dangerously written"
- Next in thread: Bruce Barnett: "Re: tar command dangerously written"
- Reply: Bruce Barnett: "Re: tar command dangerously written"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 20 May 2005 00:07:58 -0400
In article <1116538597.164453.76270@z14g2000cwz.googlegroups.com>,
"danson" <danwatts@gmail.com> wrote:
> Guys - thanks a lot for the responses. Very clear and enlightening! I
> think I can modify my thinking as suggested so that this does not
> happen to me again!
>
> My original point still stands though that it would make good sense to
> prompt an overwrite with the tar command - most user friendly tools
> will prompt on an overwrite (unless a 'force' is used).
Which Unix tools are you talking about? Most of them *don't* have such
a prompt, unless the file is write-protected. E.g.
cp foo bar
will happily overwrite bar.
-- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***
- Next message: Patrick TJ McPhee: "Re: Comparing 2 similar strings?"
- Previous message: tridentadm: "Re: printing variable values seperately."
- In reply to: danson: "Re: tar command dangerously written"
- Next in thread: Bruce Barnett: "Re: tar command dangerously written"
- Reply: Bruce Barnett: "Re: tar command dangerously written"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]