bugGNU Core Utilities - Bugs: bug #17900, rm -f should ignore ENOTDIR

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #17900: rm -f should ignore ENOTDIR

Submitted by:  Andreas Schwab <schwab>
Submitted on:  Mon 02 Oct 2006 02:35:52 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sun 08 Oct 2006 07:54:34 PM UTC, comment #1:

Closing. This is fixed for the upcoming 6.4 released.
See mailing list for details.

Jim Meyering <meyering>
Project Administrator
Mon 02 Oct 2006 02:35:52 PM UTC, original submission:

$ 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.

Andreas Schwab <schwab>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 08 Oct 2006 07:54:34 PM UTCmeyeringStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1