Re: Horribly Mistimed complaint about fs/open.c:chown_common()
H. Peter Anvin (hpa@transmeta.com)
17 Oct 1998 22:44:30 GMT
Followup to: <slrn72cmj6.vn1.aba@sol.muenchen.pro-bahn.org>
By author: aba@muenchen.pro-bahn.org (Andreas Barth)
In newsgroup: linux.dev.kernel
>
> > 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.
>
I think the comment it refers to is that chown() shouldn't kill the
2000 bit on the *directory*.
-hpa
--
PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See http://www.zytor.com/~hpa/ for web page and full PGP public key
I am Bahá'í -- ask me about it or see http://www.bahai.org/
"To love another person is to see the face of God." -- Les Misérables
-
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/