From owner-freebsd-hackers Tue Oct 24 10:57:44 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id E650B37B4C5; Tue, 24 Oct 2000 10:57:41 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.0/8.11.0) with ESMTP id e9OHvPn87615; Tue, 24 Oct 2000 11:57:25 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA17136; Tue, 24 Oct 2000 11:57:24 -0600 (MDT) Message-Id: <200010241757.LAA17136@harmony.village.org> To: Will Andrews Subject: Re: Who broke "ls" in FreeBSD? and why? Cc: Jordan Hubbard , "Scott D. Yelich" , Jeremy Lea , freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Tue, 24 Oct 2000 08:11:36 CDT." <20001024081136.K1604@puck.firepipe.net> References: <20001024081136.K1604@puck.firepipe.net> <12367.972372237@winston.osd.bsdi.com> Date: Tue, 24 Oct 2000 11:57:24 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20001024081136.K1604@puck.firepipe.net> Will Andrews writes: : [ redirected to -hackers ] : : On Tue, Oct 24, 2000 at 12:23:57AM -0700, Jordan Hubbard wrote: : > What's wrong with -a? And what the heck does this have to do with : > mobile computing? : : -a doesn't disable -A, it adds to it (also shows . and ..). I think : this guy's looking for an option to disable this flag.. no idea why. : One could simply invoke `ls' as a normal user (say, `nobody') if they so : desired. Yes. Last night I misunderstood what he was saying. For normal users, ls -a lists all files, not counting . and .., but for root it does list all files. ls -A lists all files for normal users, but omits . and .. for root. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message