Re: can i modify ls

From: Tomas Szepe
Date: Tue Feb 24 2004 - 11:40:03 EST


On Feb-24 2004, Tue, 15:55 +0000
Alessandro Salvatori <a.salvatori@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

> it's quite interesting...

Actually, it's not.

1) The presence/absence of the read permission on a directory determines
whether the user will be able to list the directory's contents.

2) The fs permission model is enforced by the kernel. Trying to impose
additional restrictions in userspace is fragile, futile and
an incredibly stupid idea.

--
Tomas Szepe <szepe@xxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/