utils/#7: rm: Confirmation issues

Bug report from khorben on 15/06/2005 05:44:41
Check whether to ask for confirmation or not, particularly in these cases:
  • operation likely to fail due to permissions;
  • terminal is interactive but -i and -f were not specified.
By the way, if it's not obvious already, I took it.
Spurious error messages when the end of file is reached on the standard input were fixed.
Use of the access() system call may help in this.