URL:
  <http://savannah.gnu.org/bugs/?17900>

                 Summary: rm -f should ignore ENOTDIR
                 Project: GNU Core Utilities
            Submitted by: schwab
            Submitted on: Montag 02.10.2006 um 16:35
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

$ touch x
$ rm -f x/y; echo $?
rm: cannot remove `x/y': Not a directory
1

This error should be ignored.  After all, if a file name component is not a
directory the file cannot exist, so rm -f should handle it the same as
ENOENT.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?17900>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to