Commit 23fe38c8 authored by Natanael Copa's avatar Natanael Copa
Browse files

mkinitfs: harden permissions of initramfs

ref aports#11044
parent 44a18734
......@@ -153,7 +153,7 @@ initfs_cpio() {
return
fi
rm -f $outfile
umask 0022
umask 0077
(cd "$tmpdir" && find . | sort | cpio --quiet -o -H newc | $comp) > $outfile
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment