Bug 507922 - Dolphin SFTP Cannot Reach Root Directory
Summary: Dolphin SFTP Cannot Reach Root Directory
Status: RESOLVED DUPLICATE of bug 507278
Alias: None
Product: dolphin
Classification: Applications
Component: bars: location (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-06 02:28 UTC by danieltjandra@gmail.com
Modified: 2025-08-07 07:38 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: KF 6.17
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***