Connection is not closed in sftp
Bug #1379283 reported by
Leo Iannacone
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dput (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
Please, close the connection in sftp.py.
This is needed when you try to upload something on SERVER_A, and on SERVER_A there is an application which uses inotify to wath di incoming directory.
What's happen is, if connection is not closed, the event IN_CLOSE_WRITE is never triggered.
Changed in dput (Ubuntu): | |
assignee: | nobody → Leo Iannacone (l3on) |
Changed in dput (Ubuntu): | |
assignee: | Leo Iannacone (l3on) → nobody |
summary: |
- Connection in not closed in sftp + Connection is not closed in sftp |
To post a comment you must log in.
The problem is more related to bzrlib than to dput.
bzrlib.sftp put a file in a "file.tmp", it works on it, and when finished rename the tmp path to the "real_path".
The renaming does not trigger a IN_CLOSE_WRITE