Re: Horribly Mistimed complaint about fs/open.c:chown_common()

Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
16 Oct 1998 13:31:52 +0200


aba@muenchen.pro-bahn.org (Andreas Barth) writes:

|> On 15 Oct 98 04:03:47 GMT, David C Niemi <niemi@tux.org> wrote:
|>
|>
|> > In other variants of Unix, this test is not applied to directories, where
|> > the setgid bit does not have the same security implications as it does for
|> > files (rather it signals that BSD group ID behavior is to be used on new
|> Yes, it does. Anyone who is allowed to create files in that directory can
|> quite easily start a sgid-program to get membership of the group.

How that? The setgid bit of a directory is only inherited by directories,
not by the other types of files.

Andreas.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/