https://bugs.kde.org/show_bug.cgi?id=395553

            Bug ID: 395553
           Summary: Can not 'move' files to an NTFS partition in Kubuntu
           Product: dolphin
           Version: 17.12.3
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-n...@kde.org
          Reporter: notlost.justlookingaro...@gmail.com
                CC: elvis.angelac...@kde.org
  Target Milestone: ---

Application: dolphin (17.12.3)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-23-generic x86_64
Distribution: Ubuntu 18.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Any files transferred to an NTFS file system through Dolphin by drag and drop
(move) or Cut and Paste as well as "mv" command in Konsole will cause errors
after the first file has been moved successfully. 

Error with Dolphin is "Access Denied to /NTFSPartition/Directory/Filename"
Where filename is the name of the first file moved.

It successfully copies the directory (if directory chosen) and moves the first
file, and then gives the error message.  If I hit "retry", "skip" or
"autoskip", it says the file no longer exists. When I hit "Cancel" Dolphin
closes on the target window only. The original  Dolphin window (source
directory) stays open.

It is reproducable everytime when trying to move or cut and paste single files,
multiple files or directories.

Dolphin does not always crash, but it always closes the target directory
window.

The directory is always copied and the first (or only) file if moved.

However - moving files and directories within the same NTFS parition works
normally. All files are moved and no error messages appear. Errors / crashes
only seems to happen when moving directories/files into an NTFS partition from
another partition. It does not matter if the source directory is formatted with
NTFS, ext4, FAT, etc filesystems.

Copy to NTFS file systems works everytime, so to "move" files, I have to "copy"
to the NTFS partition and then "delete" on the source directory.

There are no errors when moving (drag and drop, or cut and paste) from NTFS to
a non-NTFS partition.

The NTFS partitions are owned by "root" and part of the "plugdev" group.

This has been happening since Kubuntu 14.04 and continues through to present
18.04.

When I tried the same operation in Konsole, I get a similar result. The file is
moved, but an error message appears;

mv: preserving timesmv: preserving times for
'/Pictures/Screenshot_20180618_104112.png': Operation not permitted for
'/Pictures/Screenshot_20180618_104112.png': Operation not permitted

(/Pictures is the NTFS partition. Same occurs if I use another NTFS partition
as the target.)

Again, copy using 'cp' command works.
Also, using the 'mv' command in Konsole to a non-NTFS partition works as it
does in Dolphin.

Konsole does not shut down or crash after using the mv command as Dolphin does
when the target is an NTFS partition.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff856f376c0 (LWP 3603))]

Thread 3 (Thread 0x7ff82d973700 (LWP 3606)):
#0  0x00007ff8567afbf9 in __GI___poll (fds=0x7ff8280049b0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff849705439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff84970554c in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff8509c390b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff8509689ea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff85078722a in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff85078c16d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff84b8766db in start_thread (arg=0x7ff82d973700) at
pthread_create.c:463
#8  0x00007ff8567bc88f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ff83d431700 (LWP 3605)):
#0  0x00007ff8567afbf9 in __GI___poll (fds=0x7ff83001ad30, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff849705439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff84970554c in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff8509c390b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff8509689ea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff85078722a in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff850e40d45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ff85078c16d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ff84b8766db in start_thread (arg=0x7ff83d431700) at
pthread_create.c:463
#9  0x00007ff8567bc88f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ff856f376c0 (LWP 3603)):
[KCrash Handler]
#6  0x00007ff85231ca94 in KJob::isAutoDelete() const () from
/usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#7  0x00007ff85231cae1 in KJob::finishJob(bool) () from
/usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#8  0x00007ff854d092f9 in KIO::FileCopyJob::slotResult(KJob*) () from
/usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#9  0x00007ff8509996cf in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ff85231bfdc in KJob::result(KJob*, KJob::QPrivateSignal) () from
/usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#11 0x00007ff85231cb11 in KJob::finishJob(bool) () from
/usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#12 0x00007ff854d18628 in KIO::SimpleJob::slotFinished() () from
/usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#13 0x00007ff854d169db in KIO::SimpleJob::slotError(int, QString const&) ()
from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#14 0x00007ff8509996cf in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007ff854cee186 in KIO::SlaveInterface::error(int, QString const&) ()
from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#16 0x00007ff854cf2222 in KIO::SlaveInterface::dispatch(int, QByteArray const&)
() from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#17 0x00007ff854cee807 in KIO::SlaveInterface::dispatch() () from
/usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#18 0x00007ff854cf3d01 in KIO::Slave::gotInput() () from
/usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#19 0x00007ff8509995b5 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007ff854c978c9 in ?? () from
/usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#21 0x00007ff85099a122 in QObject::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007ff85197282c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ff85197a0f4 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007ff85096a9a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007ff85096d11d in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007ff8509c42c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007ff849705287 in g_main_context_dispatch () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007ff8497054c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ff84970554c in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007ff8509c38ef in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007ff8509689ea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007ff850971a84 in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007ff856acfbaa in kdemain () from
/usr/lib/x86_64-linux-gnu/libkdeinit5_dolphin.so
#34 0x00007ff8566bcb97 in __libc_start_main (main=0x55864c722730, argc=2,
argv=0x7ffc54c96298, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffc54c96288) at ../csu/libc-start.c:310
#35 0x000055864c72276a in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 368287.

Possible duplicates by query: bug 395089, bug 395078, bug 394681, bug 392973,
bug 390296.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to