Bug 427428

Summary: Editor broke dangling symlinks to system folders
Product: [Applications] krusader Reporter: diggest
Component: krviewerAssignee: Krusader Bugs Distribution List <krusader-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: davide, krusader-bugs-null, toni.asensi
Priority: NOR    
Version First Reported In: 2.7.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description diggest 2020-10-07 20:40:36 UTC
STEPS TO REPRODUCE
1. Create a link in a current directory "sudo -- ln -s /lib/systemd/system/my_new.service"
2. Find the link, open it in editor edit and save
3. Enter the password in "authorization required" dialog

OBSERVED RESULT
The link is deleted and a plain file is created in the current directory


EXPECTED RESULT
Editor should follow the link and create a file in /lib/systemd/system/ directory

SOFTWARE/OS VERSIONS
Ubuntu 20.04
KDE Frameworks 5.68.0
Qt 5.12.8 (built against 5.12.8)
The xcb windowing system
Comment 1 Davide Gianforte 2020-10-21 19:58:51 UTC
Hi, can you reproduce the same effect opening the symlink from Kate?
Comment 2 diggest 2020-10-21 20:54:05 UTC
Yes Kate behavior is the same.

If the link target exists everything works as expected, it shows the dialog and then follow the link and write the file there. The issue is only caused by dangling links.
Comment 3 Bug Janitor Service 2020-11-05 04:33:33 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 diggest 2020-11-05 06:28:48 UTC
Bump
Comment 5 Toni Asensi Esteve 2021-03-27 18:56:47 UTC
> Yes Kate behavior is the same.

If Kate has the same problem, then we have to consider that it's an external problem :-(

Feel free to reopen this bug report if it's needed.