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-n...@kde.org
          Reporter: fuckregisteri...@proton.me
                CC: kfm-de...@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 watching all bug changes.

Reply via email to