[arch-dev-public] make nvram world-readable?

Damir Perisa damir.perisa at solnet.ch
Sat Aug 18 05:24:15 EDT 2007


i'd like to change the nvram device permissions rule in udev.rules we 
provide. 

at the moment the line in /etc/udev/rules.d/udev.rules is the 
following:

KERNEL=="nvram",   NAME="misc/%k", SYMLINK+="%k"

what leads to

[damir at Apollon dev]$ ls -la /dev/misc/nvram
crw-rw---- 1 root root 10, 144 2007-08-17 18:40 /dev/misc/nvram
being not accessible otherwise than root. 

and i want to change it to 

KERNEL=="nvram",   NAME="misc/%k", SYMLINK+="%k" MODE="0666"

so that any app or user can read nvram. this is needed by some tools 
for some hardware (e.g. thinkpads and buttons). 

alternatively i would allow only group to read it and have a group 
called nvram.

what do you think?

i know that everybody having a thinkpad is changing permissions to 
nvram device on arch boxes the one or other way... lets settle this 
the right way at the root ;)

thanx + have a nice weekend,

Damir

(from the new laptop - almost running as i want it *smile*)




More information about the arch-dev-public mailing list