You may only delete directories that do not contain files!

You have attempted to delete a directory containing files.

This operation is only permitted if the Allow deletion of non-empty directories box is checked under the Advanced tab of the Preferences dialog box.