-
Notifications
You must be signed in to change notification settings - Fork 300
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
Change udev rules back to MODE="0664" instead of uaccess. #404
base: master
Are you sure you want to change the base?
Conversation
When you e.g. have a service that flashes your modules it might run as a dedicated user, which is unable to login. In this case uaccess does not work.
@agx Do you have any concern about this change, which always revert your commit? |
This looks wrong to me as it breaks simple flashing for logged in in users and doesn't help as the rule still fails to set a group. If you want group writablility then it should:
This wouldn't break the existing setup and would also make it simple for script use by just adding the flashing user to the group (e.g. |
So something like this?
|
Cleaned up the doubles and sorted by
|
@oliverwendt @mb-karo I think that's pretty close. I'd just let mfgtools do the group lookup at rule installation time as |
Well did run the rules as a rule file in
and in an other instance
And I don't see any real lag in
EDIT: EDIT #2: |
What
and there certainly can be network access with EDIT: I understand that it's fast on your system and it's certainly also fast over here but I've seen plenty of setups where that isn't the case and |
When you e.g. have a service that flashes your modules it might run as a dedicated user, which is unable to login. In this case uaccess does not work.
BTW, it might be useful to also add
GROUP="plugdev"
or something similar to the udev rules.Also, I stripped my udev rules down to some leaner version relying on vendor-id.
e.g.: