Change udev rules back to MODE="0664" instead of uaccess.#404
Change udev rules back to MODE="0664" instead of uaccess.#404theonlymb wants to merge 1 commit intonxp-imx:masterfrom
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 |
e55c395 to
42f13af
Compare
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.: