[dolphin] [Bug 499245] New: ADMINISTRATOR PERMISSIONS: Deletion of entire directory upon CTRL-Z after merging folders

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Jan 28 15:48:31 GMT 2025


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

            Bug ID: 499245
           Summary: ADMINISTRATOR PERMISSIONS: Deletion of entire
                    directory upon CTRL-Z after merging folders
    Classification: Applications
           Product: dolphin
           Version: 24.12.1
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: critical
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: fuckregisteringz at proton.me
                CC: kfm-devel at kde.org
  Target Milestone: ---

SUMMARY
If you use dolphin as admin and merge two folder, e.g. /usr and then hit CTRL-Z
it will delete the entire directory.

STEPS TO REPRODUCE
1. Create a /usr folder elsewhere, add directories /bin /lib /share (may only
just require /usr not even need to do this I'm not gonna break my system over
and over to test lol) and add some files in it.

2. Merge this with the actual /usr folder
3. Hit Ctrl + Z

OBSERVED RESULT
R.I.P. your system.  Softlock (nothing will work as you have no /usr) and
rebooting will also not work as it will fail to load into anything, and your
TTY will also not work.

EXPECTED RESULT
Deletion of the merged files ONLY.

ArchLinux
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.12.10-arch1-1 (64-bit)
Graphics Platform: Wayland


ADDITIONAL INFORMATION
I was merging https://github.com/joshuar/go-hass-agent 's tar.xz files
(/bin/go-hass-agent, /lib/systemd/user/go-hass-agent-service,etc...) with my
/usr directory and wanted to make some changes first so I did
ctrl-z...everything stopped working, system softlocked.

If this happens, timeshift can help you out.  Frequent backups are key!

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


More information about the kfm-devel mailing list