While following this answer: https://askubuntu.com/a/715310
I ran the command:
sudo ln -s /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/backlight/amdgpu_bl0/brightness /sys/class/backlight
and I got the error:
ln: failed to create symbolic link '/sys/class/backlight/brightness': Operation not permitted
Other commands like mkdir
and touch
return the same error: Operation not permitted
I have tried running chown -R root /sys/class/backlight
and running all the commands threw root
but that didn't help either.
How come sudo
cannot perform this operation and how can I fix it?