If you try to sudo your way through a command with pipes and/or redirects, part of the sequence of commands may be producing sudo-read/writeable streams of data or data objects, which the other parts of the sequence can’t use because they were spawned by your shell and not root.
The solution is to embed the appropriate part of the command in quotes. Like this.
And here is the latest LJ video: The Find Command.




