Permission denied on changing the LCD brightness

I install a script called brillo that changes the brightness but this error always show:

Error: open '/sys/class/backlight/intel_backlight/brightness': Permission denied

Error: execution failed

the command sudo brillo -q -A 10 works but in this video he can do it without the sudo.

I tried the chmod a+x /sys/class/backlight/intel_backlight/brightness

the command brillo -q -A 5 works but when I restart, the problem goes back again.

How can I make it permanent so that I can change the brightness without sudo?

According to readme if you are in video group you should be able execute this command. Check if you are in video:

groups

If you aren’t add yourself:

sudo usermod -aG video <username>

and relogin or reboot.

I got the solution at this link.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.