© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
BazziteB
Bazzite•13mo ago•
3 replies
Formica

permission denied on a sudo command

Yet another newbie question :
Trying to configure my vr headset, I have to setup my gpu in vr mode. I installed corectrl but I can't figure how to lauch the app. Anyway, someone in a discord gave me a command to authorise apps to change the power profile. However when I run it I get this :
bazzite@bazzite:~$ sudo echo 4 > /sys/class/drm/card0/device/pp_power_profile_mode
bash: /sys/class/drm/card0/device/pp_power_profile_mode: Permission denied
bazzite@bazzite:~$ sudo echo 4 > /sys/class/drm/card0/device/pp_power_profile_mode
bash: /sys/class/drm/card0/device/pp_power_profile_mode: Permission denied
Solution
you cant sudo echo to a file
you need to echo pipe into sudo tee
echo hello | sudo tee /sys/class/foo
echo hello | sudo tee /sys/class/foo
Jump to solution
BazziteJoin
The operating system for the next generation of gamers.
29,482Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

VM permission denied
BazziteBBazzite / 🛟bazzite-help
5mo ago
Distrobox Permission Denied
BazziteBBazzite / 🛟bazzite-help
12mo ago
OCI Permission Denied
BazziteBBazzite / 🛟bazzite-help
2y ago
Permission denied in KVM
BazziteBBazzite / 🛟bazzite-help
14mo ago