[lkml]   [1998]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Horribly Mistimed complaint about fs/open.c:chown_common()
Followup to:  <>
By author: (Andreas Barth)
In newsgroup:
> > 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*.

PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See for web page and full PGP public key
I am Bahá'í -- ask me about it or see
"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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:45    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean