Run as normal user
See original GitHub issueI’ve been able to run this as a normal (non-root) user by creating the following udev rules in Arch Linux
/usr/lib/udev/rules.d/99-cm-rgb.rules
# cm-rgbi
SUBSYSTEM=="usb", ATTR{idVendor}=="2516", ATTR{idProduct}=="0051", MODE="0660", GROUP="plugdev", TAG+="uaccess", TAG+="udev-acl"
Then load the new rules with
sudo udevadm control --reload-rules
sudo udevadm trigger
Maybe this CLI tool could offer a way to create these rules for users with sudo access?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:5 (4 by maintainers)
Top Results From Across the Web
How to run program as normal user (remove shield icon)?
It depends on the program you are trying to run, Generally there is no way to make a program run as a standard...
Read more >How to Run a Program as a Different User (RunAs) in Windows?
The easiest way to run an application under another user is to use the Windows File Explorer GUI. Just find an application (or...
Read more >Run as normal user - WineHQ Forums
Run as normal user. Post by Bamm » Tue Oct 27, 2020 1:51 am. Hi, When running a certain installer it tells me...
Read more >Windows 7: Run as if I Were a Regular User, Even Though I ...
If you run command prompt, by default unless you escalate the permissions of command prompt, it will not be elevated. This means any...
Read more >Install software on wine as normal user (not as administrator)
Run Explorer++. Navigate to folder with installer, then run it.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This feature is now implemented in
v0.1.0
by runningcm-rgb-cli add-udev-rule
Ok, so I’ve learned what the
TAG+="uaccess"
means 😃According to: https://enotty.pipebreaker.pl/2012/05/23/linux-automatic-user-acl-management/
If the goal is to have access to the device as current active user this tag is all that is required. No group should be defined in the rule unless device is to be used from a daemon.
I’ve even found reference to this group on Arch issue tracker, quote
Plugdev is an obsolete group to give members of that group full access to removable devices. Permissions on such devices are granted by logind using ACLs these days, so there's no need for plugdev. Any package shipping such rules should be considered buggy.
- Jan de GrootI guess your rule should work equally well without the plugdev part.