When using sudo, I get 'premission denied'
Posted
by
JacobusR
on Ask Ubuntu
See other posts from Ask Ubuntu
or by JacobusR
Published on 2012-12-19T04:12:50Z
Indexed on
2012/12/19
5:13 UTC
Read the original article
Hit count: 179
When using sudo to allow edits to files, I regularly get 'permission denied'.
For example, my mouse is jittery and sluggish, so I want to disable polling:
sudo echo "options drm_kms_helper poll=N">/etc/modprobe.d/local.conf
I'm prompted for a password, and then get:
bash: /etc/modprobe.d/local.conf: Permission denied
So I tried to do a temporary change to disable polling by using:
sudo echo N> /sys/module/drm_kms_helper/parameters/poll
Yet again the system responded with:
bash: /sys/module/drm_kms_helper/parameters/poll: Permission denied
Any ideas?
© Ask Ubuntu or respective owner