bugGNU Core Utilities - Bugs: bug #27923, rm -f gives an error when trying...

 
 

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

bug #27923: rm -f gives an error when trying to delete a non-existent file on a read-only filesystem

Submitted by:  Steven Drake <sbd>
Submitted on:  Tue 03 Nov 2009 09:32:18 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon 16 Nov 2009 06:46:22 AM UTC, comment #1:

Thanks again.
Fixed for upcoming coreutils-8.1

http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/18786/focus=18798

Jim Meyering <meyering>
Project Administrator
Tue 03 Nov 2009 09:32:18 AM UTC, original submission:

Eg:
/bin/rm: cannot remove `non-existent-file': Read-only file system.

On a linux/glibc system the unlinkat syscall will set errno to EROFS and nonexistent_file_errno() does not perform any checks
for this case. (Another rm does an fts_open/fts_read and ignores
the file if fts_info is FST_NS before trying to unlink it.)

(coreutils version 7.4)

Steven Drake <sbd>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by meyering (Posted a comment)
  • -unavailable- added by sbd (Submitted the item)
  •  

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 16 Nov 2009 06:46:22 AM UTCmeyeringStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 03 Nov 2009 09:33:59 AM UTCsbdCarbon-CopyRemoved sbd=>-
    Tue 03 Nov 2009 09:32:19 AM UTCsbdCarbon-Copy-=>Added sbd

    Back to the top


    Powered by Savane 3.1-cleanup1