lkml.org 
[lkml]   [2004]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: can i modify ls
On Feb-24 2004, Tue, 11:44 -0500
Richard B. Johnson <root@chaos.analogic.com> wrote:

> On Tue, 24 Feb 2004, Tomas Szepe wrote:
>
> > On Feb-24 2004, Tue, 15:55 +0000
> > Alessandro Salvatori <a.salvatori@universitari.crocetta.org> 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.
>
> If you don't have any programming tools and no access to any (like
> a banking or restrictive office environment), and there is no
> way to get any external executable files to run, i.e., no floppy
> or no shell that could possibly access one, then writing a minimal
> 'ls' program that allows the clerk to see what's in her directory
> might be useful.

So what is it exactly that prevents the admin from running /bin/chmod
in the setup you're describing?

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

\
 
 \ /
  Last update: 2005-03-22 14:01    [from the cache]
©2003-2011 Jasper Spaans