0

I'm running the command sudo find . | cpio -o -H newc > ../init.cpio and it returning:

-bash: ../init.cpio: Permission denied.

I don't know how to fix this or what else to try. It works fine when I run the same command in a different directory. I'm following a tutorial and when they do it in the video they get no errors and the command works perfectly giving the exact output needed. I tried to look it up and find people with the same issue but the fixes do not work.

muru
  • 207,228

0 Answers0