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

Submitter:  Steven Drake <sbd>
Submitted:  Tue 03 Nov 2009 09:32:18 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned 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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-11-16 meyering StatusNone Fixed
        Open/ClosedOpen Closed
    2009-11-03 sbd Carbon-CopyRemoved sbd -
    2009-11-03 sbd Carbon-Copy- Added sbd

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code