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