Document File Manager D-Bus shim security feature#360
Closed
assisted-by-ai wants to merge 1 commit intoKicksecure:masterfrom
Closed
Document File Manager D-Bus shim security feature#360assisted-by-ai wants to merge 1 commit intoKicksecure:masterfrom
assisted-by-ai wants to merge 1 commit intoKicksecure:masterfrom
Conversation
The fm-shim backend and frontend were not yet documented. Add a new section describing the D-Bus shim that intercepts FileManager1 calls and prompts the user before opening directories. https://claude.ai/code/session_01RHBTARXyvjzrgxyCX6ntnA
ArrayBolt3
reviewed
Apr 10, 2026
Contributor
ArrayBolt3
left a comment
There was a problem hiding this comment.
Redone in ArrayBolt3@972f4c9.
| by the user to function properly, see notes in | ||
| `/etc/security-misc/emerg-shutdown/30_security_misc.conf`. | ||
|
|
||
| ## File Manager D-Bus shim |
Contributor
There was a problem hiding this comment.
Idea accepted, but I'm going to rewrite this, it's both too detailed in places that don't matter as much and not detailed enough in places that matter more.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This change adds documentation for the File Manager D-Bus shim, a new security feature that intercepts and controls D-Bus access to the file manager.
Changes
org.freedesktop.FileManager1D-Bus method calls with hardening flags (_FORTIFY_SOURCE=3, PIE, RELRO, CFI)file://only), rejection of Unicode/control characters, path existence verification, and symlink resolutionDetails
The documentation explains how the shim prevents applications from silently opening directories via D-Bus by requiring explicit user confirmation. It addresses PCManFM-Qt D-Bus handling issues while providing an additional control layer for users. The backend runs as a systemd user service that automatically starts on login.
https://claude.ai/code/session_01RHBTARXyvjzrgxyCX6ntnA