lkml.org 
[lkml]   [1998]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: Horribly Mistimed complaint about fs/open.c:chown_common()
    Date
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:45    [W:0.019 / U:3.784 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site