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?