git: 9front

Download patch

ref: 351497be81816b46f00b3448882bcc8dcdb1e3b1
parent: eb282824cf01ca13909987a479e3ccac1012a6e7
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Mar 15 11:27:56 EDT 2015

boot: disable group/other permission checking in bootfs paqfs

when building bootfs in d770 mode directory, the other permissions
in bootfs paq are masked off which results in boot to fail. theres
no point in checking group/other permissions on boot, so just disable
permissin checking in paqfs with the -a flag.

--- a/sys/src/9/boot/boot.c
+++ b/sys/src/9/boot/boot.c
@@ -39,7 +39,7 @@
 
 	/* setup the boot namespace */
 	bind("/boot", "/bin", MAFTER);
-	run("/bin/paqfs", "-q", "-c", "8", "-m" "/root", "/boot/bootfs.paq", nil);
+	run("/bin/paqfs", "-qa", "-c", "8", "-m" "/root", "/boot/bootfs.paq", nil);
 	bind("/root", "/", MAFTER);
 	snprint(buf, sizeof(buf), "/%s/bin", cputype);
 	bind(buf, "/bin", MAFTER);
--