Bug 478212

Summary: saving to remote symlink replaces link with file
Product: [Frameworks and Libraries] frameworks-kio Reporter: meex
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kare.sars, kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 5.112.0   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description meex 2023-12-07 14:06:30 UTC
SUMMARY
when loading a file on a remote server (VPS) for which the file is symbolically linked, and then saving changes to the file, the symlink is replaced with the actual file

STEPS TO REPRODUCE
1.  edit a sym-linked text file on remote server
2. save changes

OBSERVED RESULT
symlink is replaced with the actual file

EXPECTED RESULT
behavior should be the same as when working with local files; the symlink should not be replaced

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Kernel Version: 6.6.3-1-MANJARO (64-bit)
Comment 1 Kåre Särs 2023-12-10 20:15:40 UTC
Unfortunately, fixing this is not going to be trivial.... The way it works is that the file is downloaded, edited and then uploaded on save...