Greg Wooledge (12021-08-02):
> No, that won't work.
> 
> https://mywiki.wooledge.org/BashPitfalls#pf53
> 
> If you want to use redirections with sudo, you either need to wrap
> things in "sh -c" a lot, or else get a full interactive shell first
> (sudo -s), and *then* run your commands with redirections.

That! And sudo was addressed in the very first mail:

"I advise it over using root privileges for the cp: you could wipe your
install if you get the device wrong."

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: PGP signature

Reply via email to