Bug 355809

Summary: When copy a link from a ntfs drive, dolphin changes the link original path
Product: [Applications] dolphin Reporter: gnastyle <BM-2cTv4XtvC9UQ8TdFCfPNySv2omc8T6m3sv>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: mail
Priority: NOR    
Version First Reported In: 15.08.3   
Target Milestone: ---   
Platform: Chakra   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description gnastyle 2015-11-23 21:13:17 UTC
When I copy a file that is a link to another file (an .svg file pointing another svg file in the same folder) from an external drive (formatted with ntfs) to another folder (on the same external disk or the pc), dolphin changes the original path adding a character.
For example, if I copy file.svg that points to file2.svg, dolphin modifies the path to file2.svgz or file2.svgr or adding another letter as a suffix (some times even some spaces) to the newly copied file.
The problem should happen only on ntfs drive.

Reproducible: Sometimes

Steps to Reproduce:
1. connect an ntfs external drive to the pc
2. create a link to a file on the external drive (es. a link to an .svg file)
3. copy that link to another location (it can be on the same folder)
4. try to open it

Actual Results:  
It doesn't open complaining about "the file or folder X doesn't not exists".
If you check on proprierties where the file points to, you can notice that the path is changed.
More precisely it is added a character at the end of the path.
So, if the correct path was "/run/media/user/Drive/doc.pdf" it became
"/run/media/user/Drive/doc.pdfd" or "/run/media/user/Drive/doc.pdfv" for example

Expected Results:  
the link should point to the correct path.

The firsts times you do this to a file it doesn't happen, but if you try 3 or 4 times it happens every time.
Happened on an WD My Passport 500 GB external disk.
On a USB pendrive SMI USB DISK 8 GB formatted with ntfs this doesn't happen.
On previous KDE4 dolphin this never happened.

With the command cp on terminal this bugs doesn't happen.
Comment 1 Julian Steinmann 2018-04-12 19:11:23 UTC
Does this still happen with newer versions of Dolphin? If not, I'll close this bug report soon.
Comment 2 Julian Steinmann 2018-04-28 17:00:37 UTC
Please test this again with a newer version of Dolphin. If we don't have any confirmation that this is still happening for the next two weeks, I'll close this bug then.
Comment 3 Julian Steinmann 2018-05-15 10:28:38 UTC
No response -> closing. Please reopen this report if you can still reproduce this behavior with newer versions of Dolphin.