bugGNU nano - Bugs: bug #29312, nano triggers inotify CLOSE_WRITE...


bug #29312: nano triggers inotify CLOSE_WRITE event when opening a file

Submitted by:  None
Submitted on:  Tue 23 Mar 2010 07:07:04 AM 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.


Tue 23 Mar 2010 07:07:04 AM UTC, original submission:

Firstly, create a temp folder and a test file

$ mkdir ~/temp
$ touch ~/temp/test.txt

Then, start inotifywait on another terminal

$ inotifywait -e close_write ~/temp

Open the test file with nano

$ nano ~/temp/test.txt

As soon as the file is opened, inotifywait will exit with this output:

/home/xxx/temp/ CLOSE_WRITE,CLOSE test.txt



(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 sayap

    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
    Wed 24 Mar 2010 09:51:57 AM UTCsayapCarbon-Copy-=>Added sayap

    Back to the top

    Powered by Savane 3.1-cleanup