DragonFly BSD
DragonFly users List (threaded) for 2012-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: /bin/ls vs .dotted files


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 13 Sep 2012 17:41:17 -0700 (PDT)

    I can't think of a good reason why f_listdot is set for root
    automatically,

    It goes all the way back to the original import in 2003 when we forked
    from FreeBSD.

    FreeBSD still turns it on automatically but added a -I option that
    turns it off.

       /* Root is -A automatically unless -I. */
        if (!f_listdot && getuid() == (uid_t)0 && !f_noautodot)
                f_listdot = 1;

    At the very least I will bring in this change.  But it may well be
    that we should also change the default to NOT be -A for root.

						-Matt



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]