[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
'rm -rf' failing when put into the background
From: |
Thomas Schwinge |
Subject: |
'rm -rf' failing when put into the background |
Date: |
Wed, 25 May 2005 12:19:35 +0200 |
User-agent: |
Mutt/1.5.9i |
Hello!
The following has happened to me for a few times in similar situations.
#v+
$ ls -ld ghc-testsuite
drwxr-xr-x 3 tschwinge root 4096 May 20 17:40 ghc-testsuite/
$ rm -rf ghc-testsuite
[ Let it run for a few seconds. ]
^Z
[1]+ Stopped rm -rf ghc-testsuite
$ bg
[1]+ rm -rf ghc-testsuite &
rm: cannot remove directory
`ghc-testsuite/Tghc-6-4-branch/fptools/testsuite/tests/ghc-regress/rename': No
such file or directory
[1]+ Exit 1 rm -rf ghc-testsuite
$ find ghc-testsuite/
ghc-testsuite/
ghc-testsuite/Tghc-6-4-branch
ghc-testsuite/Tghc-6-4-branch/fptools
ghc-testsuite/Tghc-6-4-branch/fptools/testsuite
ghc-testsuite/Tghc-6-4-branch/fptools/testsuite/tests
ghc-testsuite/Tghc-6-4-branch/fptools/testsuite/tests/ghc-regress
$ rm -rf ghc-testsuite
$ find ghc-testsuite/
find: ghc-testsuite/: No such file or directory
#v-
Does anyone have an idea why 'rm -rf' is failing when it is put into the
background?
Regards,
Thomas
- 'rm -rf' failing when put into the background,
Thomas Schwinge <=