lkml.org 
[lkml]   [1999]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC] Bug in mkdir(2)
    Date
    From
    >    Following symlinks can be useful at times. It is the root-owned 
    > processes responsibility to check for symlinks in /tmp. This argument
    > can be used for any file manipulation in a globally writable directory.
    > Both mkdir("foo") and mkdir("foo/") should follow symlinks for
    > consistency purposes.

    You can demonstrate the link following race for O_EXCL|O_CREAT is insoluble.
    This is why every modern Unix doesn't link follow on create. It doesn't work.


    Alan


    -
    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:52    [W:2.288 / U:0.160 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site