diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2022-07-15 23:22:14 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2022-07-15 23:22:14 +0530 |
commit | 28188125fb6886741ccf5ea717e74c328003c38a (patch) | |
tree | 52a19e739901519610c64195b6a89cf8c9a6f1f0 | |
parent | 0dc93d5e8a450d63fc5f3403158863be16653e42 (diff) |
udev rule to overcome intel_backlight Permission denied error
-rw-r--r-- | etc/udev/rules.d/90-backlight.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/udev/rules.d/90-backlight.rules b/etc/udev/rules.d/90-backlight.rules new file mode 100644 index 0000000..231c2a4 --- /dev/null +++ b/etc/udev/rules.d/90-backlight.rules @@ -0,0 +1,3 @@ +SUBSYSTEM=="backlight", ACTION=="add", +RUN+="/bin/chgrp video /sys/class/backlight/intel_backlight/brightness", +RUN+="/bin/chmod o+w /sys/class/backlight/intel_backlight/brightness" |