[frameworks-kio] [Bug 469134] While copying symlink it copies the target of that symlink.

Jin Liu bugzilla_noreply at kde.org
Sun May 28 11:14:09 BST 2023


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

--- Comment #5 from Jin Liu <ad.liu.jin at gmail.com> ---
(In reply to Méven Car from comment #2)
> I am asking myself how best to fix this.
> 
> Because for a single symlink that makes sens the user would want the symlink
> to be "duplicated" at destination.
> But for a symlink inside a directory being copied (imagine some kind of
> backup), that could be unexpected for that user and break his workflow.
> 
> I guess we'd need some input, either when copying a symlink or when copying
> a folder containing symlink(s).

I think by principle of least surprise, we'd better have the same behavior as:
(in the order of importance IMHO):
1. `cp' and `cp -r' command.
2. Gnome (Nautilus)
3. Windows (Explorer)
IIRC, of the 3, only Windows copies link target.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list