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

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed Jan 29 19:24:26 GMT 2025


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

--- Comment #4 from fuckregisteringz at proton.me ---
(In reply to Felix Ernst from comment #3)
> Let's first identify what even is going wrong here.
> 
> > 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.
> 
> 1. So you have two /usr folders. One is in root i.e. "/usr", the other is
> somewhere else i.e. "/some/other/place/usr"

 Correct,
> > 2. Merge this with the actual /usr folder
> 
> 2. You now "merge" the two. I assume this means moving the folder
> "/some/other/place/usr" to "/", you are then asked what to do because there
> is already a "usr" folder there and you choose "Merge".

Spot on.

> > 3. Hit Ctrl + Z
> 
> I think now it tries to undo the previous move of the folder
> "/some/other/place/usr" to "/". So it takes the only "/usr" folder that
> still exists and "puts it back" to "/some/other/place/usr".
> 
> That's my interpretation of what is happening.

Your assumption on my steps is correct!  It may indeed not be an admin issue,
but with admin it can cause significant data loss hence why I marked it as an
admin bug (this is where I first encountered it).

Regarding the other replies yeah I know I wasn't supposed to put it there
(@Nate Graham), hence why I did the ctrl+z (one of the changes I wanted to make
was putting it in the local folder as I realized that was the wrong place after
I put it there...tired brain does dumb things!).  I just didn't expect it to
nuke my system lol.

As to where to file this issue properly (kio-admin?) sorry if I placed it
wrong--first time using the bug tracker I tried my best to make sure things
were in the proper locations.  Please let me know if I need to adjust anything.

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


More information about the kfm-devel mailing list