[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #18430] Problem with solving '{}' brackets

From: James Youngman
Subject: Re: [bug #18430] Problem with solving '{}' brackets
Date: Mon, 4 Dec 2006 12:40:53 +0000

On 12/3/06, Bob Proulx <address@hidden> wrote:
James Youngman wrote:
> While "-exec sh ..."  would change this behaviour, don't do that as it is
> very insecure.

Insecure?  In what way?

I envision something like this:

  find . -name "foo*" -exec sh -c "file {} >{}.tmp" \;
What problem should I be aware of in the above?

touch '/tmp/foo; echo foo: empty; rm -rf $HOME'


reply via email to

[Prev in Thread] Current Thread [Next in Thread]