cvs commit: src/bin/ls ls.1 ls.c
Ceri Davies
ceri at submonkey.net
Thu Nov 10 14:36:17 GMT 2005
On Thu, Nov 10, 2005 at 12:02:32AM +0000, Maxime Henrion wrote:
> mux 2005-11-10 00:02:32 UTC
>
> FreeBSD src repository
>
> Modified files:
> bin/ls ls.1 ls.c
> Log:
> Add a -I option to disable the automatic -A flag for the super-user.
>
> PR: bin/86710
> Submitted by: Marcus Alves Grando
> MFC after: 3 days
For what it's worth, I think mnag was right in the PR when he said that
this (at least the !getuid() bit) should be changed:
> | + /* Root is -A automatically. */
> | + if (!getuid() && !f_nolistdot)
> | + f_listdot = 1;
I'm also struggling for the motivation behind this option, but it
doesn't actually affect me in any way whatsoever so I can't complain.
Ceri
--
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former. -- Einstein (attrib.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20051110/706b70c6/attachment.bin
More information about the cvs-src
mailing list