lkml.org 
[lkml]   [1999]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectrmdir of a busy directory
Date
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 majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [from the cache]
©2003-2011 Jasper Spaans