Skip to content

udev-rules: use the uaccess method instead of custom group to setup perms#41

Merged
jahnf merged 1 commit intojahnf:developfrom
dev-zero:feature/modernize-udev-rules
Nov 2, 2019
Merged

udev-rules: use the uaccess method instead of custom group to setup perms#41
jahnf merged 1 commit intojahnf:developfrom
dev-zero:feature/modernize-udev-rules

Conversation

@dev-zero
Copy link
Copy Markdown
Contributor

modern systems use the uaccess tag to let udev/systemd add extended ACLs for the local user which makes the custom group superfluous

@dev-zero
Copy link
Copy Markdown
Contributor Author

see Debian's info about it: https://wiki.debian.org/USB/GadgetSetup
... and since they have already have a Lintian Tag for it I guess it's time to switch ;-)

@jahnf
Copy link
Copy Markdown
Owner

jahnf commented Oct 31, 2019

Thank you, didn't know about that udev feature. I'll have a look on the weekend.
Is that supported by all current distributions? (Debian, fedora, opensuse..)

@dev-zero
Copy link
Copy Markdown
Contributor Author

I've verified this on an up-to-date Arch Linux and openSUSE Leap 15.x.
Fedora should have it as well since they adapted systemd quiet fast. systemd's udev has the uaccess rules since 2012, but I'm not sure about distribution adoption.

@jahnf jahnf added the enhancement New feature or request label Oct 31, 2019
@jahnf jahnf added this to the v0.6 milestone Oct 31, 2019
@jahnf jahnf merged commit 63f1e5a into jahnf:develop Nov 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants