Bug 507922

Summary: Dolphin SFTP Cannot Reach Root Directory
Product: [Applications] dolphin Reporter: danieltjandra <danieltjandra>
Component: bars: locationAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: major CC: dolphin-bugs-null, kde, meven
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: KF 6.17
Sentry Crash Report:

Description danieltjandra@gmail.com 2025-08-06 02:28:55 UTC
When connecting to a remote server via sftp:daniel@192.168.122.1 for example, it is impossible to reach the root of the filesystem (`/` with boot, etc, home, opt... not `/root`) of the server. By default, dolphin will take me to /home/daniel and show `sftp : 192.168.122.1 > home > daniel` in the location bar. When I click on the arrow between `sftp : 192.168.122.1` and `home` I can see a drop down of the contents in the root of the filesystem: boot, etc, home... When I click on the `home` button it takes to /home as exepcted. When I click on `sftp : 192.168.122.1` it takes me back to `/home/daniel`, but now the location bar just says `sftp : 192.168.122.1`. There is no way to reach / without symlinking it in my home folder `ln -s / /home/daniel/rootdir`.  This can be reproduced on a Fedora 42 KDE live cd and trying to connect to the host.

According to the discussion thread, it looks like this also effects the fish protocol: https://discuss.kde.org/t/sftp-root-directory/38039 .
Comment 1 Lee Harris 2025-08-06 14:44:45 UTC
It's this commit in kio
https://github.com/KDE/kio/commit/883a16eb4ac808deceddf8ac3667ee888ff8ea60

Reverted I can get to the / directory again.
Comment 2 Méven 2025-08-07 07:38:38 UTC

*** This bug has been marked as a duplicate of bug 507278 ***