changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > plan9front / changeset: boot: disable group/other permission checking in bootfs paqfs

changeset 4345: fcc58d5a738e
parent 4344: 72a84fe2d6b4
child 4346: 293098f5b0b5
author: cinap_lenrek@felloff.net
date: Sun, 15 Mar 2015 15:27:56 +0100
files: sys/src/9/boot/boot.c
description: 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.
     1.1--- a/sys/src/9/boot/boot.c
     1.2+++ b/sys/src/9/boot/boot.c
     1.3@@ -39,7 +39,7 @@ main(int argc, char *argv[])
     1.4 
     1.5 	/* setup the boot namespace */
     1.6 	bind("/boot", "/bin", MAFTER);
     1.7-	run("/bin/paqfs", "-q", "-c", "8", "-m" "/root", "/boot/bootfs.paq", nil);
     1.8+	run("/bin/paqfs", "-qa", "-c", "8", "-m" "/root", "/boot/bootfs.paq", nil);
     1.9 	bind("/root", "/", MAFTER);
    1.10 	snprint(buf, sizeof(buf), "/%s/bin", cputype);
    1.11 	bind(buf, "/bin", MAFTER);