Why running some command is giving me "Permission denied"?
I've just installed ubuntu and my earphones are having weird pop noices. Other people had this problem and they solved it. But when I copy their command and try to run it gives me "Permission denied". What should I do?
The source commands " Cracking and popping sound from left side of headphone on Front Left/Right sound test ".
41 Answer
The instructions you seem to be referring to don't make clear that you also need to give that script you create in /usr/local/bin execute permissions before anyone is allowed to run it.
Only then can you run the script with sudo.
First do this with the command:
sudo chmod +x /usr/local/bin/FILENAME