/bin/ls vs .dotted files

Tobias Weingartner weingart at tepid.org
Fri Sep 14 19:53:00 PDT 2012


Welcome to Unix.  It has been this way for a long time.

-Toby.

On Thu, Sep 13, 2012 at 7:15 AM, sad at bestmx.ru <sad at bestmx.ru> wrote:
> hi,
>
> it was just discovered that /bin/ls (without arguments)
> if called by root-user
> lists ".dotted" files
> (while expected to hide ".dotted" files unless -A specified)
>
> even more surprising is
> man ls
> that clearly says: "-A is always set for superuser"
> (which is absolutely peculiar!)
>
> WHY????????????????????????
>
>



More information about the Users mailing list