Bug 450211 - Add option to copy target of symlink when copying to filesystem that does not support symlinks
Summary: Add option to copy target of symlink when copying to filesystem that does not...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 21.12.2
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-14 12:58 UTC by sedrubal
Modified: 2022-02-14 12:58 UTC (History)
1 user (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 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