From: Arun Thomas Date: Thu, 13 May 2010 12:05:53 +0000 (+0000) Subject: Fix permissions for halt, reboot, and shutdown X-Git-Tag: v3.1.7~58 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=8630337c80269b3d60f46e04c61fbaa272a193c4;p=minix.git Fix permissions for halt, reboot, and shutdown --- diff --git a/commands/reboot/Makefile b/commands/reboot/Makefile index 2dde81bdb..203688efb 100644 --- a/commands/reboot/Makefile +++ b/commands/reboot/Makefile @@ -3,6 +3,7 @@ PROGS= shutdown halt SRCS.shutdown= shutdown.c sh_wall.c log.c SRCS.halt= halt.c log.c +BINMODE= 4754 LINKS+= ${BINDIR}/halt ${BINDIR}/reboot MAN.shutdown= MAN.halt= diff --git a/commands/tinyhalt/Makefile b/commands/tinyhalt/Makefile index afbe20a40..0db22c4ce 100644 --- a/commands/tinyhalt/Makefile +++ b/commands/tinyhalt/Makefile @@ -5,6 +5,7 @@ PROG= halt SRCS= tinyhalt.c BINDIR= /bin +BINMODE= 744 LINKS+= ${BINDIR}/halt ${BINDIR}/reboot MAN=