Project

General

Profile

Actions

Bug #253

closed

rm -rf and recursive nothing

Added by justin over 17 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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

Actions

Also available in: Atom PDF