[frameworks-kio] [Bug 498443] File copy is preserving SElinux label
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Thu Oct 2 02:11:21 BST 2025
https://bugs.kde.org/show_bug.cgi?id=498443
madness742 at proton.me changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
CC| |madness742 at proton.me
Status|REPORTED |CONFIRMED
--- Comment #2 from madness742 at proton.me ---
I can reproduce this.
As a workaround, I've created a Dolphin service menu. My use case is very
simple: copy or move files to a specific folder that has the `svirt_image_t`
label. This folder is used to share files with my Virtual Machines.
1. `mkdir -p ~/.local/share/kio/servicemenus`
2. `touch ~/.local/share/kio/servicemenus/copy-mv-vm.desktop`
3. `sudo chmod +x ~/.local/share/kio/servicemenus/copy-mv-vm.desktop`
4. `nano ~/.local/share/kio/servicemenus/copy-mv-vm.desktop` (make sure to
replace user with your username)
[Desktop Entry]
Type=Service
MimeType=all/all;
Actions=CopyToVM;MoveToVM
X-KDE-Submenu=Copy/Move to VM
[Desktop Action CopyToVM]
Name=Copy to VM
Icon=edit-copy
Exec=cp -r %F /home/user/VM; notify-send --app-name Dolphin "Copied files to
shared folder."
[Desktop Action MoveToVM]
Name=Move to VM
Icon=edit-move
Exec=cp -r %F /home/user/VM && rm -r %F; notify-send --app-name Dolphin "Moved
files to shared folder."
Restart Dolphin and there should be a new context menu entry when selecting
files/folders.
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.8-200.fc42.x86_64 (64-bit)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list