[OpenAFS] .__afsXXX files don't get removed, makes directories unremovable

Adam Megacz megacz@cs.berkeley.edu
Sat, 07 Oct 2006 13:53:42 -0700

On 1.4.2fc4, using two shell windows somewhere in /afs/...:

  window1> mkdir dir
  window2> cat > dir/file   # leave this running
  window1> ls dir
  window1> rm dir/file
  window1> rmdir dir
  rmdir: dir: File exists
  window1> ls -a dir
  ./          ../         .__afs2CD9
  window2> ^C          # kill cat > dir/file, .__afs2CD9 should go away
  window1> ls -a dir
  ./          ../         .__afs2CD9

The .__afs2CD9 should not still be around after the ^C.  This breaks
some version control software (and probably other stuff too).

  - a

PGP/GPG: 5C9F F366 C9CF 2145 E770  B1B8 EFB1 462D A146 C380