I just lost a fair amount of data (luckily non-critical) because dolphin in 5.x (I checked three recent versions) behaves in the following manner:
-
If a remote directory is not explored, it appears empty within the filesystem (displaying 0 items)
-
If you then use
rmdir *
in the terminal to clear empty directories, leaving those that have files, the remote mounted filesystem has the same structure, so rmdir dutifully removes all directories including all files.
This is not so much a bug report (although certainly if KDE 6 exhibits this behavior I will file it), as a community warning about potential data loss. I am currently searching in another tab to see if it is already up on bugs.kde.org, and trying to determine what classification to use.