feat(udev): Enhance udev rules for modern desktop environments#1695
Open
m1st0 wants to merge 1 commit intotidepool-org:developfrom
Open
feat(udev): Enhance udev rules for modern desktop environments#1695m1st0 wants to merge 1 commit intotidepool-org:developfrom
m1st0 wants to merge 1 commit intotidepool-org:developfrom
Conversation
This commit refines the udev rules to provide more robust and user-friendly device access for common desktop environments (DEs). The updated rules aim to: * **Integrate seamlessly with PolicyKit:** Respecting PolicyKit's role in access control for the current logged-in user, which provides a more secure and automated way to grant permissions. * **Offer modern "plug-and-play" convenience:** Utilizing the `TAG+="uaccess"` mechanism to automatically grant device access to the active graphical user, simplifying setup for most users. * **Maintain traditional, reliable group-based permissions:** By retaining `GROUP="plugdev"` and appropriate `MODE` settings, the rules ensure that users in the `plugdev` group still have access, serving as a robust fallback for non-graphical use cases or in environments where PolicyKit might not be fully configured. This dual approach provides flexibility and resilience in various operational scenarios. This improvement reduces friction for users connecting devices while maintaining appropriate security posture.
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.
This commit refines the udev rules to provide more robust and user-friendly device access for common desktop environments (DEs).
The updated rules aim to:
TAG+="uaccess"mechanism to automatically grant device access to the active graphical user, simplifying setup for most users.GROUP="plugdev"and appropriateMODEsettings, the rules ensure that users in theplugdevgroup still have access, serving as a robust fallback for non-graphical use cases or in environments where PolicyKit might not be fully configured. This dual approach provides flexibility and resilience in various operational scenarios.This improvement reduces friction for users connecting devices while maintaining appropriate security posture.
I agree to the terms of Tidepool Project’s Volunteer/Contributor License Agreement v1.1 as it exists at http://tidepool-org.github.io/files/TidepoolVCLA-1.1.pdf on July 8, 2025.