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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1379283 Title: Connection in not closed in sftp To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dput/+bug/1379283/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs