[lkml]   [1999]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: odd chown difference between 2.0 and 2.1pre kernels
    > On Mon, 11 Jan 1999 15:40:02 +0000 (GMT),
    > (Alan Cox) said:
    > >> In message <>, Joey Hess writes:
    > >> GAK!!! Security flaw here, methinks. chown should unconditionally clear
    > >> setuid and setgid.
    > > Except when done by root
    > Is there any consensus on this? According to singleunix, suid and
    > sgid on regular files get cleared unconditionally except when the
    > caller has "appropriate privileges", but in that case the behaviour is
    > implementation-defined. What do other unixen do in this case?

    Everything I tested does the same thing (even Irix for once). They all
    don't drop them as root.

    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:49    [W:0.018 / U:28.508 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site