cd ventoy
-find ./loop | cpio -o -H newc>loop.cpio
+find ./loop | cpio -o -H newc --owner=root:root >loop.cpio
xz loop.cpio
rm -rf loop
xz ventoy_chain.sh
xz ventoy_loop.sh
-find ./hook | cpio -o -H newc>hook.cpio
+find ./hook | cpio -o -H newc --owner=root:root >hook.cpio
xz hook.cpio
rm -rf hook
cd ..
-find .| cpio -o -H newc>../ventoy.cpio
+find .| cpio -o -H newc --owner=root:root >../ventoy.cpio
cd ..
rm -rf cpio_tmp
chmod -R 777 ./tool
-find ./tool | cpio -o -H newc>tool.cpio
+find ./tool | cpio -o -H newc --owner=root:root >tool.cpio
xz tool.cpio
rm -rf tool
cd ..
-find .| cpio -o -H newc>../ventoy_x86.cpio
+find .| cpio -o -H newc --owner=root:root >../ventoy_x86.cpio
cd ..
rm -rf cpio_tmp
chmod -R 777 ./tool
-find ./tool | cpio -o -H newc>tool.cpio
+find ./tool | cpio -o -H newc --owner=root:root >tool.cpio
xz tool.cpio
rm -rf tool
cd ..
-find .| cpio -o -H newc>../ventoy_arm64.cpio
+find .| cpio -o -H newc --owner=root:root >../ventoy_arm64.cpio
cd ..
rm -rf cpio_tmp
chmod -R 777 ./tool
-find ./tool | cpio -o -H newc>tool.cpio
+find ./tool | cpio -o -H newc --owner=root:root >tool.cpio
xz tool.cpio
rm -rf tool
cd ..
-find .| cpio -o -H newc>../ventoy_mips64.cpio
+find .| cpio -o -H newc --owner=root:root >../ventoy_mips64.cpio
cd ..
rm -rf cpio_tmp