freebsd-src/sbin/mksnap_ffs/Makefile
Neel Natu 7b634f01b1 MFC r270289:
Change file permissions for some setuid executables so they are "o+r".
The executable itself doesn't contain any privileged information.

An example of where this is useful is when makefs(8) is creating an image
that includes /sbin/shutdown. This can now be done without root privileges.
2014-09-04 01:38:31 +00:00

21 lines
262 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../mount
PROG= mksnap_ffs
SRCS= mksnap_ffs.c getmntopts.c
MAN= mksnap_ffs.8
WARNS?= 2
CFLAGS+=-I${.CURDIR}/../mount
.if defined(NOSUID)
BINMODE=554
.else
BINMODE=4554
BINOWN= root
.endif
BINGRP= operator
.include <bsd.prog.mk>