Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Linux doc to run with user permissions #57

Merged
merged 1 commit into from
Mar 1, 2021

Conversation

olivierlemoal
Copy link
Contributor

Using root permissions to run services is never a good practice.
A good solution would be to have a global config (#28) implemented so we could use a systemd DynamicUser and the i2c group.
In the meantime, I think the best option is to stick to user permissions in a group with access to the i2c devices.

Copy link
Owner

@haimgel haimgel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, thanks for spelling out all the details!

@haimgel haimgel merged commit 5f5ee6e into haimgel:master Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants