[lkml]   [1999]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subjectrmdir of a busy directory
    For as long as I can remember, if you removed a directory which is the
    current working directory of a process (for example, a shell), and then tried
    to do anything with that process that accesses the current working directory
    (for example, type "ls"), you'd get a ENOENT.

    Under 2.2, though, the opendir(".") succeeds and creates the appearance of an
    empty directory. Even stranger, attempts to creat() or mkdir() in the
    nonexistent directory yield EPERM.

    Is this now the expected behavior, or was there an accident in last-minute
    rmdir() changes?

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