Robert LabTeam Posted December 20, 2017 Posted December 20, 2017 Hi! I am trying to set sudo chmod 777 /sys/class/leds/red_led/brightness It works, but after restart the system reverts my changes. I think there is some init file that changes it. Any tip?
tkaiser Posted December 20, 2017 Posted December 20, 2017 13 minutes ago, Robert LabTeam said: after restart the system reverts my changes. I think there is some init file that changes it Nope, these are just default permissions set by the kernel. Any result of a web search for 'sysfs change permissions' will do, eg. https://unix.stackexchange.com/questions/68897/how-to-set-permissions-in-sys-permanent
Recommended Posts