Bug 450211

Summary: Add option to copy target of symlink when copying to filesystem that does not support symlinks
Product: [Applications] dolphin Reporter: sedrubal <kde>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: kfm-devel
Priority: NOR    
Version: 21.12.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description sedrubal 2022-02-14 12:58:26 UTC
SUMMARY
When you try to copy a symlink to a filesystem that does not support symlinks (e.g., FAT), a information message appears "Could not create symlink "<path>". The destination filesystem (FAT) doesn't support symlinks. You can choose between "Skip"*, "Skip All"* and "Cancel" (* skip of course only in bulk copy mode). It would be helpful to add an option "Copy symlink target" or "Make hard copy" or something like that, to resolve the symlink and copy the target of it to the file system.

In my scenario, I'm copying files to an external portable USB stick. A symlink makes no sense there and the message is indeed correct of course. However, I want to use the stick to plug it into a printer and print the files (i.e. the files the symlinks are pointing to).


STEPS TO REPRODUCE
1. Create a partition with e.g. FAT32 / FAT16 / vfat / ...
2. Create a local symlink to any other file on the local file system
3. Mount the FAT/... partition
4. Try to copy the symlink (via drag and drop) to the FAT/... partition

OBSERVED RESULT
The (correct) information message appears.

EXPECTED RESULT
I did expect that, but I'd like to have an option to resolve the symlinks and copy the target files to the external partition.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2