Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 1997 13:53:29 -0800 (PST)
From:      Mike Pritchard <mpp>
To:        henrich@crh.cl.msu.edu (Charles Henrich)
Cc:        henrich@msu.edu, freebsd-bugs@freefall.freebsd.org
Subject:   Re: bin/2692
Message-ID:  <199702232153.NAA04264@freefall.freebsd.org>
In-Reply-To: <199702231826.NAA03621@crh.cl.msu.edu> from "Charles Henrich" at Feb 23, 97 01:25:59 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702232153.NAA04264>