From owner-freebsd-bugs Sun Feb 23 13:53:43 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA04276 for bugs-outgoing; Sun, 23 Feb 1997 13:53:43 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA04264; Sun, 23 Feb 1997 13:53:30 -0800 (PST) From: Mike Pritchard Message-Id: <199702232153.NAA04264@freefall.freebsd.org> Subject: Re: bin/2692 To: henrich@crh.cl.msu.edu (Charles Henrich) Date: Sun, 23 Feb 1997 13:53:29 -0800 (PST) Cc: henrich@msu.edu, freebsd-bugs@freefall.freebsd.org In-Reply-To: <199702231826.NAA03621@crh.cl.msu.edu> from "Charles Henrich" at Feb 23, 97 01:25:59 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Charles Henrich wrote: > > Duplicate of PR# 1910. However, in this case, find is > > doing as it should: reporting "expoitable" file names that > > would have been handed off to xargs. > > this is bogus! On half of my systems I get three thousand lines everytime the > damn thing runs, obscuring the daily reports. There should be a way to tell > find to shut the hell up. Its not an "illegal" filename, because you can > create (anyone can create it!) on the filesystm. OK. I just committed a fix for this. find/xargs now use the -print0 and -0 options to pass "illegal" files names between each other in a safe manner. However, while looking at this, I noticed that we only check "ufs" file. Shouldn't the following line be changed from: MP=`mount -t ufs | grep -v " nosuid" | sed 's;/dev/;&r;' | awk '{ print $3 }'` to: MP=`mount -t ufs,ext2fs,mfs | ...` or some such list? -- Mike Pritchard mpp@FreeBSD.org "Go that way. Really fast. If something gets in your way, turn"