View Single Post
Feathers McGraw's Avatar
Posts: 654 | Thanked: 2,368 times | Joined on Jul 2014 @ UK
#325
Originally Posted by Feathers McGraw View Post
Since the file is owned by root:root, it will probably require changing permissions/ownership of that file so that the app can write to it
Actually I think I might have been wrong there. nemo belongs to the "system" group, and (on the Jolla phone at least) some of those LED files are owned by system:system.

Code:
nemo ~ $ ls -l /sys/class/leds/led\:rgb_red/            
total 0
-rw-r--r-- 1 system system 4096 Dec 31 00:03 blink_delay_off
-rw-r--r-- 1 system system 4096 Dec 31 00:03 blink_delay_on
-rw-r--r-- 1 system system 4096 Dec 31 00:03 brightness
lrwxrwxrwx 1 root   root      0 Jan  3 20:04 device -> ../../../pm8xxx-led
-rw-r--r-- 1 root   root   4096 Dec 31 00:03 max_brightness
drwxr-xr-x 2 root   root      0 Jan  3 20:04 power
lrwxrwxrwx 1 root   root      0 Jan  3 20:04 subsystem -> ../../../../../../../class/leds    
-rw-r--r-- 1 root   root   4096 Jan  3 20:04 uevent

What are the permissions/ownership of the files on the N5?
I haven't actually received mine yet!
 

The Following User Says Thank You to Feathers McGraw For This Useful Post: