Yet another symlink that belongs to root. Ok?

natano


Index: sbin/sysctl/Makefile
===================================================================
RCS file: /cvs/src/sbin/sysctl/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- sbin/sysctl/Makefile        4 May 2016 19:48:08 -0000       1.11
+++ sbin/sysctl/Makefile        10 Sep 2016 18:05:09 -0000
@@ -7,5 +7,6 @@ CPPFLAGS+=      -D_LIBKVM
 
 afterinstall:
        ln -sf ../../sbin/sysctl ${DESTDIR}/usr/sbin
+       chown -h root:wheel ${DESTDIR}/usr/sbin/sysctl
 
 .include <bsd.prog.mk>

Reply via email to