lkml.org 
[lkml]   [2002]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: is KERNEL developement finished, yet ??? (ACLs)
Linus Torvalds wrote:

> Only stupid people think they should throw away old proven concepts.
> What happens quite often in academia in particular is that you find a
> problem you want to fix, and you re-design the whole system around your
> fix.
Agreed...
>
> The UNIX/Linux approach is a very pragmatic thing - leave the things
> that work well alone. There's no point in re-inventing the whole system
> just because of some small perceived flaws.
>
Agreed...
>
>>This is not a design flaw per say, but let's face it: Unix would be a lot
>>more secure (and more flexible in it's security) with ACL's.
>>
>>Microsoft Windows has had ACL's since 1991 (Windows NT 3.5?); that was 11
>>years ago.
>
>
> Yeah, and look how much more secure it is than UNIX.
>
> Linus
An unfortunately inflamatory argument that avoids the real issue. I'm
not going to argue the security of NT (heaven forbid), but you do
completely ignore the benefits of ACLs, including things that
capabilities don't provide.

The fundamental problem is that while there is a many-to-many
relationship between users and groups, there is only a one-to-many
relationship between files and groups. This inequity breeds kludgy
solutions to problems that would be easy with the many-to-many
group/file relationships that ACLs provide

A simple example would be four non-root users of a system where user A
would like to provide read and write access to a file with users B and C
but not D and access to another file with C and D, but not B. Without
ACLs this is jut not possible without root setting up one group that
encompasses B and C, and another for C and D. Obviously not a scalable
or convenient solution.

This trivial example get's magnified when trying to delegate
administration tasks on a large system. In these cases, groups could
feasibly be set up to encompass every permutation, but can quickly get
unwieldy.

I'm not at all opposed to capabilities, but I don't believe they come
close to obviating ACLs. It also doesn't seem ACLs and capabilities are
in any kind of conflict. Why could we not have both?

-Tupshin

-
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 13:31    [from the cache]
©2003-2011 Jasper Spaans