community/plasma-mobile 6 : Add udev.rules for flashlight support
To support flashlight, i add /etc/udev/rules.d/99-flashlight.rules
# Allow everyone to set brightness of flashlight (Required for plasma-mobile flashlightplugin)
SUBSYSTEMS=="leds", KERNEL=="*:flash|*:torch", RUN+="/bin/chmod 666 %S%p/brightness"
Udev rules fix also bug with flashlight in plasma-mobile 5.27. I don't know if it can be backported to allow user write permission here https://invent.kde.org/plasma/plasma-mobile/-/blob/Plasma/5.27/quicksettings/flashlight/flashlightutil.cpp?ref_type=heads#L17