codestation / vitamtp

Library to interact with Vita's USB MTP protocol (No longer maintained)
GNU General Public License v3.0
32 stars 28 forks source link

Append uaccess and udev-acl tags to udev rule. #6

Closed Cloudef closed 8 years ago

Cloudef commented 8 years ago

uaccess rule sets up acl's for the usb device on logind (systemd) systems.

udev-acl rule does the same for consolekit systems.

This removes the need of adding user to vitamtp group for most users. It's still useful over ssh or somewhere where login manager doesn't consider the session to be interactive.

Cloudef commented 8 years ago

Note, I don't actually use debian. This change may not be relevant there. However IIRC debian uses systemd, and thus the rule should also be prioritized before the udev rule that handles uaccess tag, which on Arch at least is 73-seat-late.rules. I would propose to use prioritory 40 for this rule.