change ownership when cpio pack

This commit is contained in:
longpanda 2021-07-27 22:18:39 +08:00
parent 32a964eded
commit 069342ab9a
2 changed files with 10 additions and 10 deletions

View file

@ -14,7 +14,7 @@ for dir in $(ls); do
cd ..
done
find . | cpio -o -H newc>../vtloopex.cpio
find . | cpio -o -H newc --owner=root:root >../vtloopex.cpio
cd ..