diff options
author | neel <neel@FreeBSD.org> | 2014-09-04 01:38:31 +0000 |
---|---|---|
committer | neel <neel@FreeBSD.org> | 2014-09-04 01:38:31 +0000 |
commit | e7f9a8421633bb735c566148fe8cd8522158ff5c (patch) | |
tree | bcda2ba5dcb01106144c9e0575cbd21dda4c85a8 /sbin/mksnap_ffs | |
parent | 4480b8a63d1bd7977650f61794397f74bde685ae (diff) | |
download | FreeBSD-src-e7f9a8421633bb735c566148fe8cd8522158ff5c.zip FreeBSD-src-e7f9a8421633bb735c566148fe8cd8522158ff5c.tar.gz |
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.
Diffstat (limited to 'sbin/mksnap_ffs')
-rw-r--r-- | sbin/mksnap_ffs/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/mksnap_ffs/Makefile b/sbin/mksnap_ffs/Makefile index 9247cb2..de96fa0 100644 --- a/sbin/mksnap_ffs/Makefile +++ b/sbin/mksnap_ffs/Makefile @@ -10,9 +10,9 @@ WARNS?= 2 CFLAGS+=-I${.CURDIR}/../mount .if defined(NOSUID) -BINMODE=550 +BINMODE=554 .else -BINMODE=4550 +BINMODE=4554 BINOWN= root .endif BINGRP= operator |