🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1569

Re: Beware xargs security holes

#1569
From: Keith Gabryelski
Date: Mon, 22 Oct 1990 03:26
9 lines
793 bytes
In article <1990Oct21.223729.10521@chinet.chi.il.us> les@chinet.chi.il.us
(Leslie Mikesell) writes:
>[...] you can still get into trouble with a file named "-r" appearing
>at the front of an argument list that might also mention directories.

But this is easily taken care of by suppling `--' as the last argument
to rm (ie, find . -name '*.dvi' -print | xargs rm --)

Pax, Keith
Technical Details
Message-ID: <15301@cbmvax.commodore.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cbmvax!ag
References: <1990Oct21.223729.10521@chinet.chi.il.us>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cbmvax!ag
From: ag@cbmvax.commodore.com (Keith Gabryelski)
Newsgroups: comp.unix.shell
Subject: Re: Beware xargs security holes
Message-ID: <15301@cbmvax.commodore.com>
Date: 22 Oct 90 03:26:29 GMT
References: <1990Oct21.223729.10521@chinet.chi.il.us>
Reply-To: ag@cbmvax.commodore.com (Keith Gabryelski)
Organization: Commodore-Amiga Unix; West Chester, PA
Lines: 9