Bug 466598 - Configuration error: changing the home folder to a symbolic link (is an existing directory)
Summary: Configuration error: changing the home folder to a symbolic link (is an exist...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.12.2
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
: 504159 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-02-28 12:41 UTC by gottfried.mueller
Modified: 2025-05-19 15:19 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
patch to fix symlink as directory (980 bytes, text/x-c++src)
2025-05-17 09:09 UTC, Martin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gottfried.mueller 2023-02-28 12:41:21 UTC
Changing the home folder to a symbolic link brings the following error:

The location for the home folder is invalid or does not exist, it will not be applied.
Comment 1 Johannes Sasongko 2025-01-01 14:41:12 UTC
I think this is due to how the isDir check in FoldersTabsSettingsPage::applySettings is done [1]. Perhaps it needs KIO::StatDetail::StatResolveSymlink ?

[1] https://invent.kde.org/system/dolphin/-/blob/07da115293dacf702e398e402bc61f0ce386e87c/src/settings/interface/folderstabssettingspage.cpp#L182
Comment 2 John Kizer 2025-05-16 19:25:21 UTC
*** Bug 504159 has been marked as a duplicate of this bug. ***
Comment 3 Martin 2025-05-17 09:09:50 UTC
Created attachment 181419 [details]
patch to fix symlink as directory

With the attached patch, using a symlinked directory works.
Comment 4 Martin 2025-05-17 09:11:03 UTC
(In reply to Martin from comment #3)

This was 25.04.1, btw.