DragonFly BSD
DragonFly bugs List (threaded) for 2006-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

rm -rf and recursive nothing


From: "Justin C. Sherrill" <justin@xxxxxxxxxxxxxxxxxx>
Date: Thu, 20 Jul 2006 23:13:42 -0400 (EDT)

I noticed something strange.  I unpacked the pkgsrc tarball to the wrong
directory, and moved the contents.  After copying it up, I deleted the
directory, which was empty.

dev# ls -la pkgsrc/
total 3
drwxr-xr-x   2 root  wheel  1024 Jul 20 22:27 .
drwxr-xr-x  54 root  wheel  1536 Jul 20 22:27 ..
dev# rm pkgsrc
rm: pkgsrc: is a directory
dev# rm -rf pkgsrc
recursively remove pkgsrc?

However, I still got the "recursively remove <dirname>" warning that comes
from trying to delete more than 3 files.  It lists a total of 3, but only
names 2.  This was on a 1.4.4 system





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