Subject: bin/847: `ls' always root always turns on `-A'
To: None <gnats-admin@NetBSD.ORG>
From: None <mrg@mame.mu.OZ.AU>
List: netbsd-bugs
Date: 03/07/1995 05:20:04
>Number:         847
>Category:       bin
>Synopsis:       `ls' always root always turns on `-A'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Mar  7 05:20:02 1995
>Originator:     matthew green
>Organization:
bozotic softwar foundation
>Release:        1/3/95
>Environment:
System: NetBSD splode.mame.mu.OZ.AU 1.0A NetBSD 1.0A (_splode_) #138: Tue Feb 28 01:53:15 EST 1995 mrg@splode.mame.mu.OZ.AU:/splode/build/src/sys/arch/sparc/compile/_splode_ sparc


>Description:

	as ls(1) turns on the -A flag when running as root, it is not
	possible to turn it off again.  this is undesireable.  wouldn't
	it be better to make ls(1) an alias in root's .cshrc to use
	this flag, thus keeping the current `semantics', but also giving
	people the choice if they so desired ?

>How-To-Repeat:
>Fix:

	add a line to root/.cshrc
	remove a couple of lines from src/bin/ls/ls.c and ls.1
>Audit-Trail:
>Unformatted: