bug-findutils
[Top][All Lists]
Advanced

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

[bug #18554] feat req: -exec cmd {} more args +


From: Geoff Clare
Subject: [bug #18554] feat req: -exec cmd {} more args +
Date: Fri, 22 Dec 2006 12:49:16 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8

Follow-up Comment #9, bug #18554 (project findutils):

James, I believe the way I suggested using "sh -c" is perfectly safe.  The
security problem you are thinking of is associated with uses where the {} is
part of the command, e.g.

find ... -exec sh -c 'ls -l {}' \;

which is not portable anyway.  (POSIX says {} only needs to be substituted if
it is a separate argument.)


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18554>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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