[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [off-topic] rm -r on a used directory



Adrian Bridgett <adrian.bridgett@poboxes.com> writes:

>   rm -r ../../foo
> the last command fails as it is my current directory [on AIX].

There was a thread about this on linux-kernel a while back.  Linus
argued that the AIX behavior was just some meaningless check that
doesn't even work.  The AIX kernel actually checks to see if rmdir(2)
is trying to remove the cwd, and fails it.  Another process can still
remove the directory.

AIX is just screwy.


Guy


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: