From 386f59000aacc6c9f3b8e4ccc10d031c03bb1985 Mon Sep 17 00:00:00 2001 From: Balazs Gerofi Date: Fri, 7 Aug 2015 13:33:44 +0900 Subject: [PATCH] mcreboot-smp-x86.sh.in: grant real user rw permission on /dev/mcos* --- arch/x86/tools/mcreboot-smp-x86.sh.in | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/tools/mcreboot-smp-x86.sh.in b/arch/x86/tools/mcreboot-smp-x86.sh.in index 9ac24d58..0a80e16c 100644 --- a/arch/x86/tools/mcreboot-smp-x86.sh.in +++ b/arch/x86/tools/mcreboot-smp-x86.sh.in @@ -77,3 +77,4 @@ if ! ${SBINDIR}/ihkosctl 0 load ${KERNDIR}/mckernel.img; then echo "error: loadi if ! ${SBINDIR}/ihkosctl 0 kargs hidos; then echo "error: setting kernel arguments"; exit; fi if ! ${SBINDIR}/ihkosctl 0 boot; then echo "error: booting"; exit; fi if ! insmod ${KMODDIR}/mcctrl.ko; then echo "error: inserting mcctrl.ko"; exit; fi +if ! chown `logname` /dev/mcd* /dev/mcos*; then echo "error: chowning device files"; exit; fi