Description of problem:
rm removes directories and its contents interactively when given -i
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. mkdirhier foor/bar/foo/bar
2. rm -i foo
removes directories and its contents interactively.
should refuse to unlink directories. rmdir is their for that. Or should
take -r flag to behave this way.
coreutils has the behaviour you want.