Bug 484408 - Copying or moving a large (>2GB) file from a root-owned folder to a user-owned folder, using Act as Administrator in Dolphin, either silently fails or produces a truncated destination file
Summary: Copying or moving a large (>2GB) file from a root-owned folder to a user-owne...
Status: CONFIRMED
Alias: None
Product: kio-admin
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 24.12.0
Platform: Fedora RPMs Linux
: NOR critical
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
: 497877 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-03-24 19:21 UTC by Henning
Modified: 2025-01-13 12:25 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henning 2024-03-24 19:21:33 UTC
I am trying to move a few files over 1GB from an external SSD connected over USB to my internal storage.

Both my internal storage and the external SSD are encrypted. On the external SSD there is another Fedora Kinoite install, so the /var/home/$USER belongs to another user, meaning I need to open it with "admin:"

now I try to move a few ISO files from that users home to my home, and I start a Ctrl+X Ctrl+V from the privileged admin: tab to a regular user tab.

A "file is moved" notification appears but nothing happens, either the message is not updated, or the process does not work.

I did not get any error logs but will try to get some soon.

--- App ---
kf5-kio-ntlm-5.115.0-1.fc39.x86_64
kf5-kio-core-libs-5.115.0-1.fc39.x86_64
kf5-kio-doc-5.115.0-1.fc39.noarch
kf5-kio-gui-5.115.0-1.fc39.x86_64
kf5-kio-file-widgets-5.115.0-1.fc39.x86_64
kf5-kio-widgets-libs-5.115.0-1.fc39.x86_64
kf5-kio-core-5.115.0-1.fc39.x86_64
kf5-kio-widgets-5.115.0-1.fc39.x86_64
kio-extras-23.08.5-1.fc39.x86_64
kio-fuse-5.1.0-1.fc39.x86_64
kf5-audiocd-kio-doc-23.08.5-1.fc39.noarch
kf5-audiocd-kio-23.08.5-1.fc39.x86_64
kio-gdrive-23.08.5-1.fc39.x86_64
kio-admin-23.08.5-1.fc39.x86_64
libblkio-1.3.0-2.fc39.x86_64
qemu-block-blkio-8.1.3-4.fc39.x86_64

--- Software ---
OS: Fedora Linux 39.20240311.0 (Kinoite)
KDE Plasma: 5.27.10
KDE Frameworks: 5.115.0
Qt: 5.15.12
Kernel: 6.7.7-200.fc39.x86_64
Comment 1 Henning 2024-03-24 21:32:47 UTC
I was able to reproduce this 3 times, meanwhile a "sudo mv" worked in a few seconds, for a 2GB movie file.
Comment 2 John Kizer 2025-01-02 19:00:36 UTC
I can reproduce on Fedora KDE 41, kio-admin 24.12.0. Tagging as critical since moving or cut-and-pasting a file can result in loss of the much of the file's contents.
Comment 3 John Kizer 2025-01-02 19:01:28 UTC
*** Bug 497877 has been marked as a duplicate of this bug. ***
Comment 4 jackyzy823 2025-01-03 01:10:32 UTC
I have done some more tests.

Using `kioclient cp admin:/root/xxx.iso` copy the file correctly.

So i think this might be related to Dolphin's kio-admin integration part?
Comment 5 Harald Sitter 2025-01-13 12:25:55 UTC
https://invent.kde.org/system/kio-admin/-/merge_requests/9 would probably fix this but I wasn't quite happy with the code yet.