Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2000 22:35:23 -0700
From:      Jeremy Lea <reg@FreeBSD.ORG>
To:        "Scott D. Yelich" <scott@scottyelich.com>
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: Who broke "ls" in FreeBSD?  and why?
Message-ID:  <20001023223522.A76688@shale.csir.co.za>
In-Reply-To: <Pine.GSO.4.21.0010232253210.23207-100000@hackme.spy.org>; from scott@scottyelich.com on Mon, Oct 23, 2000 at 10:59:21PM -0600
References:  <4.3.1.1.20001023213452.00b84740@ns.live.com> <Pine.GSO.4.21.0010232253210.23207-100000@hackme.spy.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Mon, Oct 23, 2000 at 10:59:21PM -0600, Scott D. Yelich wrote:
> ps: this isn't "smart" or "cute" ... this is very wrong and very broken.  

Without -A, you can't tell if a directory really is empty.  Do an ls -R,
followed by an rm -r (once you've established that you don't want the
files that you see...).  Or try scaning for bogus security related
files (like .rhosts) in a users directory.

This has been the default since the file was imported into CVS, and I
suspect it's been the default since BSD ls was first written.  That it's
not the behaviour of GNU ls is just scary, and one more reason why I'm
glad I never go near Linux.

Regards,
 -Jeremy

-- 
FreeBSD - Because the best things in life are free...
                                           http://www.freebsd.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




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