bin/110348: Add an option to do not automatically run ls with -A for root

Kris Kennaway kris at obsecurity.org
Thu Mar 15 21:10:13 UTC 2007


The following reply was made to PR bin/110348; it has been noted by GNATS.

From: Kris Kennaway <kris at obsecurity.org>
To: Murilo Opsfelder Araujo <mopsfelder at gmail.com>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: bin/110348: Add an option to do not automatically run ls with -A for root
Date: Thu, 15 Mar 2007 17:09:38 -0400

 On Thu, Mar 15, 2007 at 06:05:13PM +0000, Murilo Opsfelder Araujo wrote:
 
 > ls automatically add -A option for root user. I believe it's better to have a way to disable this at buildworld time.
 > 
 > This patch implements an option NO_LSAUTODOT, that can be used on make.conf to disable that feature.
 
 A build option is unnecessary for something so minor and easily worked
 around, just set an alias of ls=ls -I for your root shell.
 
 Kris


More information about the freebsd-bugs mailing list