https://bugs.kde.org/show_bug.cgi?id=490966
Bug ID: 490966 Summary: kde-open fails to open relative paths outside of the current working directory's children Classification: Plasma Product: kde-cli-tools Version: 6.1.3 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: aleix...@kde.org Reporter: devillelethiba...@gmail.com Target Milestone: --- SUMMARY When I'm using the terminal to navigate between LaTeX files (opened in a TUI program) and the output PDF (opened in Okular/firefox), I'm using the `xdg-open` command a lot. However it (and the `kde-open` command it calls underneath) do not accept relative paths that go outside of the current working directory's direct children, no matter the depth. STEPS TO REPRODUCE 1. Open a terminal, and navigate to any directory, let's say `~/Documents`. 2. Invoke `kde-open .` (or `xdg-open`, it should give the same result). It should open Dolphin/your filesystem browser without issues. 3. Invoke `kde-open ../foo` where foo is any directory under `~` . It should prompt an error message stating the unit is not configured properly and the operation is not permitted. OBSERVED RESULT Whenever supplying an "invalid" URI/path, it outputs a message with the following template: ``` kf.kio.gui: Failed to launch process as service: "app-org.kde.dolphin@<hash>.service" "org.freedesktop.DBus.Error.AccessDenied" "Unit app-org.kde.dolphin@<hash>.service failed to load properly, please adjust/correct and reload service manager: Operation not permitted" Unit app-org.kde.dolphin@<hash>.service failed to load properly, please adjust/correct and reload service manager: Operation not permitted ``` EXPECTED RESULT It should open the file/directory without issues. SOFTWARE/OS VERSIONS Qt Version: 6.7.2 Kernel Version: 6.9.11-200.fc40.x86_64 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 7840U w/ Radeon 780M Graphics Memory: 30.7 GiB of RAM Graphics Processor: AMD Radeon 780M Manufacturer: Framework Product Name: Laptop 13 (AMD Ryzen 7040Series) System Version: A7 ADDITIONAL INFORMATION - It works perfectly fine if the command `gio open ../problematic/relative/path` is used instead of `[xdg|kde]-open` ! - The workflow defined above worked just fine a few weeks ago. I'm not able to pinpoint it more specifically than that, sorry. - The commands perform as expected if an absolute path to the "problematic" paths are used instead. - Since it is mentioned nowhere on the system info, I'm running the KDE spin of Fedora, and the "full" version information of the `kde-cli-tools` package is `6.1.3-2.fc40`. -- You are receiving this mail because: You are watching all bug changes.