Skip to content

Copying symbolic links in Thunar breaks relative links

Submitted by pka..@..il.com

Assigned to Xfce Bug Triage

Link to original bug (#14557)

Description

If you use Thunar to copy a symbolic (relative) link from one location to another, you break the link.

This has several problems:

  1. This behavior is different from the expected behavior of 'cp' - 'cp' will dereference links and copy the original file to the new location
  2. If you are copying a directory tree, you will probably not notice that a broken link was created

Proposed solutions:

  1. Default to default cp behavior: create files instead of links

  2. Launch a popup that asks the user what they want to do: Copy Link (breaks link)? Copy Link (links to different file)? Create new Link to Original File? Copy Original File? (note that only one of the first two options will be valid)