intel-undervolt icon indicating copy to clipboard operation
intel-undervolt copied to clipboard

Failed to open MSR device: Permission denied and Failed to setup the program

Open Yuki338n opened this issue 2 years ago • 4 comments

Hello, every time i prompt any command like intel-undervolt apply or even intel-undervolt read this shows up: Failed to open MSR device: Permission denied Failed to setup the program why? Screenshot from 2023-06-24 20-46-12

Yuki338n avatar Jun 24 '23 18:06 Yuki338n

tried with sudo intel-undervolt ...?

precla avatar Jun 26 '23 07:06 precla

Have you disabled secure boot?

ohmstance avatar Jul 31 '23 08:07 ohmstance

As precla stated earlier, this just means you need to run it as root through sudo intel-undervolt apply

This is a bit annoying, so another way to do this is to add yourself to the sudoers file for intel-undervolt by running sudo EDITOR=nano visudo and then adding a line like such: your_username ALL=(ALL) NOPASSWD: /usr/bin/intel-undervolt. This way, you can just run intel-undervolt ... without any permissions issues

SkepticSeptic avatar Apr 24 '24 14:04 SkepticSeptic