[BusyBox] Patches for auto "-A" and for doubling of bytes
Vladimir N. Oleynik
dzo at simtreas.ru
Tue Mar 20 16:05:41 UTC 2001
David Douthitt wrote:
> Also, re: wishlist item #1112, here is the patch against busybox 0.50.
> I remember Vlad didn't find the case particularly compelling, thus I
> would strongly encourage updating it to be an option. I'll probably do
> this and post it if no one else does....
???
Please, do not do it. It is very inconvenient.
If I do so in script:
% LIST=`ls`
That I should be sure, that in the list there will be files necessary to me,
without
dependence from uid.
Therefore, I think behaviour GNU-utils correct.
> --- ls.c Fri Mar 9 15:24:12 2001
> +++ ls.c.2.new Tue Mar 20 09:45:21 2001
> @@ -836,6 +836,13 @@
> }
> }
>
> + if ((geteuid()) == 0) {
> +
> + /* equivalent to '-A' option automatically set for root */
> +
> + disp_opts |= DISP_HIDDEN;
> + }
> +
--w
vodz
More information about the busybox
mailing list