From owner-freebsd-mobile Mon Oct 23 22:37:50 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from shale.csir.co.za (shale.csir.co.za [146.64.46.5]) by hub.freebsd.org (Postfix) with ESMTP id 88DBC37B479 for ; Mon, 23 Oct 2000 22:37:45 -0700 (PDT) Received: from C992631-A.pinol1.sfba.home.com (C992631-A.pinol1.sfba.home.com [24.12.58.155]) by shale.csir.co.za (8.9.3/8.9.3) with ESMTP id HAA53050 for ; Tue, 24 Oct 2000 07:41:11 +0200 (SAT) (envelope-from reg@shale.csir.co.za) Received: (from reg@localhost) by C992631-A.pinol1.sfba.home.com (8.11.0/8.11.0) id e9O5ZNU78846; Mon, 23 Oct 2000 22:35:23 -0700 (PDT) (envelope-from reg) Date: Mon, 23 Oct 2000 22:35:23 -0700 From: Jeremy Lea To: "Scott D. Yelich" Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Who broke "ls" in FreeBSD? and why? Message-ID: <20001023223522.A76688@shale.csir.co.za> References: <4.3.1.1.20001023213452.00b84740@ns.live.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from scott@scottyelich.com on Mon, Oct 23, 2000 at 10:59:21PM -0600 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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