bugGNU nano - Bugs: bug #42373, reading in a file into another...


bug #42373: reading in a file into another leaves a lock file behind

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Thu 15 May 2014 09:15:56 PM UTC  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sun 18 May 2014 10:44:12 AM UTC, comment #1:

It seems it has to do with reading in another file. To reproduce, do: 'nano stuck', then type ^R TODO <Enter> ^X <Y> <Enter>, and then see how there is still a .stuck.swp file.

Benno Schulenberg <bens>
Project Member
Thu 15 May 2014 09:15:56 PM UTC, original submission:

Since a few days I have 'set locking' in my .nanorc file, and twice a day or so I get the message that someone else is editing the file I'm trying to open -- but the PID given in the message is long gone. I haven't figured out yet when this occurs.

(I normally use several nanos in parallel, in different directories, so it shouldn't really be possible for this to happen.)

Benno Schulenberg <bens>
Project Member


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

Attach File(s):

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 bens (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):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 17 Jun 2014 08:32:43 PM UTCbensSummaryQuite often nano finds a stale lock file=>reading in a file into another leaves a lock file behind

    Back to the top

    Powered by Savane 3.1-cleanup