From e451804a75ac4931e981eec8ba8d7a7a503a0585 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 15 Mar 2015 15:27:56 +0100 Subject: [PATCH] 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. --- sys/src/9/boot/boot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/9/boot/boot.c b/sys/src/9/boot/boot.c index 4daf5a661..acb9ee89f 100644 --- a/sys/src/9/boot/boot.c +++ b/sys/src/9/boot/boot.c @@ -39,7 +39,7 @@ main(int argc, char *argv[]) /* 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);