[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#780400: libkio5: cut and paste files on sftp can cause data loss



Package: libkio5
Version: 4:4.14.2-5
Severity: critical
Justification: causes serious data loss

Dear Maintainer,
transferring some files over sftp using Dolphin caused the files in question to
be deleted.

1. Open two tabs in Dolphin, one locally and one over the remote server with sftp
2. Select a huge (4GiB) directory and select "cut"
3. Paste it in the remote directory
4. Wait
5. Run out of time, need to leave, suspend the laptop.
6. Re-open the laptop to manually re-do the transfer and delete the partial files
7. Login using ssh and terminal to the remote location
8. The remote directory contains a file.part that is incomplete
9. The local directory has been wiped and the original files are gone forever

I would expect that the behaviour should be similar to the one of "mv" when cutting
and pasting, and the original file shouldn't be deleted before the copy operation
is successful, and when in doubt not be deleted.

I suspect the bug is in kio library, but I don't know so much of the KDE architecture
to be able to exactly locate the problem.

I feel I've provided enough information to reproduce, but feel free to contact me if
more information is required.

Best regards

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.18.7a (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libkio5 depends on:
ii  libacl1             2.2.52-2
ii  libattr1            1:2.4.47-2
ii  libc6               2.19-15
ii  libkdecore5         4:4.14.2-5
ii  libkdeui5           4:4.14.2-5
ii  libnepomuk4         4:4.14.2-5
ii  libqt4-dbus         4:4.8.6+git64-g5dc8b2b+dfsg-3
ii  libqt4-network      4:4.8.6+git64-g5dc8b2b+dfsg-3
ii  libqt4-svg          4:4.8.6+git64-g5dc8b2b+dfsg-3
ii  libqt4-xml          4:4.8.6+git64-g5dc8b2b+dfsg-3
ii  libqtcore4          4:4.8.6+git64-g5dc8b2b+dfsg-3
ii  libqtgui4           4:4.8.6+git64-g5dc8b2b+dfsg-3
ii  libsolid4           4:4.14.2-5
ii  libstdc++6          4.9.2-10
ii  libstreamanalyzer0  0.7.8-1.2+b2
ii  libx11-6            2:1.6.2-3
ii  libxrender1         1:0.9.8-1+b1

Versions of packages libkio5 recommends:
ii  kdelibs5-plugins  4:4.14.2-5

libkio5 suggests no packages.

-- no debconf information


Reply to: