My current primary question motivator:$ ls -l /sys/devices/platform/samsungtotal 0-rw-r--r-- 1 root root 4096 27. jaan  14:17 battery_life_extenderdrwxr-xr-x 3 root root    0 19. jaan  18:40 leds-r--r--r-- 1 root root 4096 26. jaan  23:37 modalias-rw-r--r-- 1 root root 4096 27. jaan  12:57 performance_leveldrwxr-xr-x 2 root root    0 24. jaan  00:35 powerdrwxr-xr-x 4 root root    0 19. jaan  18:40 rfkilllrwxrwxrwx 1 root root    0 27. jaan  13:03 subsystem -> ../../../bus/platform-rw-r--r-- 1 root root 4096 27. jaan  13:03 uevent-rw-r--r-- 1 root root 4096 26. jaan  23:37 usb_chargeI'd like to modify these without sudo. During a desktop session that. Privileged startup script is perfectly OK.It's feeling like the solution is to have some sort of generic insmod parameters?
Is there a generic approach to automatically make some sysfs controls ch{own,mod} user-accessible?
permissions;sysfs
One solution would be a script, which changes permissions on that files using chmod and then setting you system so it would start the script on system bootup.