Closed f-fouad closed 1 year ago
I don't see the advantage in this change. Assuming every system will have its active user as the first created user and that user's UID is 1000 is not necessarily correct. UIDs are more confusing to users than usernames. A better choice, in my opinion, to make a more KISS solution for this is to remove the OWNER
parameter and add a TAG+="uaccess"
parameter. This will use the systemd currently logged-in user to apply dynamic ACL to the udev node.
Agreed, and for such a small change, this should have been discussed with @JJRcop directly instead of a PR. Closing, if you wish to pursue this please make it a feature request, or talk to us in discord.
Udev rules accept UIDs. Use that to have a functional snippet by default and prompt to change if necessary.