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

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Sat, 17 Oct 1998 11:35:22 +0100


On Thu, Oct 15, 1998 at 08:26:14PM +0000, Andreas Barth wrote:
> 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 so? Setting the sgid bit on a file should still revert the group id
of the _file_.

-- Jamie

-
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/