razvanlupusoru/Intel-RAPL-via-Sysfs — pull request #1 by thatcode (2013-11-04 16:43:16+00:00)
Title: Change attributes on files.

Razvan.

I've been playing with this a bit, and I think these changes are worthwhile pulling across. Make non-writeable attributes have non-writeable files, and make all files only writeable by root.

I've also been having issues with using enable_limit_1. I can happily disable enable_limit_2 by echo'ing 0 to it - but this doesn't work for enable_limit_1 (and I don't get an error returned - it's just silent. Not sure how to fix this either).

Any ideas why? (Sorry for submitting a help request with this patch!)

Thanks,
Robert