1
I'd like to add the write access on /sys/power/state
to my UID via ACLs,
this way I'd don't need to use sudo or any setuid program to make my workstation go on sleepmode, is that possible ?
I tried, following the man, and add this error :
➜ ~ sudo setfacl -m u:nelson:w /sys/power/state
setfacl: /sys/power/state: Invalid argument
It looks like what happened is not exactly what I meant,
Could someone enlighten me a little ? I don't understand why the setfacl
command acted like it was writing something to the FIFO