rrestor needs to run as root to set up remote host
[unix-history] / usr / src / sbin / restore / Makefile
index e0ba8d9..401c263 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright (c) 1982 Regents of the University of California
 #
 # Copyright (c) 1982 Regents of the University of California
 #
-#      @(#)Makefile    4.4     (Berkeley)      %G%
+#      @(#)Makefile    4.5     (Berkeley)      %G%
 #
 DESTDIR=
 CFLAGS= -O
 #
 DESTDIR=
 CFLAGS= -O
@@ -18,7 +18,7 @@ rrestor.o: restor.c
        mv restor.o rrestor.o
 
 install: rrestor restor
        mv restor.o rrestor.o
 
 install: rrestor restor
-       install rrestor ${DESTDIR}/etc/rrestor
+       install -m 4755 rrestor ${DESTDIR}/etc/rrestor
        install restor ${DESTDIR}/etc/restor
 
 clean:
        install restor ${DESTDIR}/etc/restor
 
 clean: