Bug 110348

Summary: Add an option to do not automatically run ls with -A for root
Product: Base System Reporter: Murilo Opsfelder Araújo <mopsfelder>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 7.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Murilo Opsfelder Araújo 2007-03-15 18:10:04 UTC
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.
Comment 1 Kris Kennaway 2007-03-15 21:09:38 UTC
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
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2007-03-15 21:16:43 UTC
State Changed
From-To: open->closed

As kris mentioned, this is best done on individual systems.