top | item 28624637

(no title)

sxldier | 4 years ago

When invoking `sudo`, you're escalating privileges on the command followed but that doesn't apply to the redirection of output (`>`). So it's saying permission denied to write to the files. You'll need to do something like `curl | sudo tee /path/to/file`. Same with `echo`.

discuss

order

No comments yet.