diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2016-11-20 11:00:20 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2016-11-20 11:00:20 +0000 |
commit | 1da087c079beaa659ed3eb5fded14dde11745f4c (patch) | |
tree | 8d10bb612cec1451f46d665230d7a13d3ce03844 /distrib/sets | |
parent | 42579984dfb52b4aa2ea48eb583af59dc13954ec (diff) |
Fix up some permissions in RELEASEDIR and /var/sysmerge.
help, testing & ok rpe
Diffstat (limited to 'distrib/sets')
-rw-r--r-- | distrib/sets/makeetcset | 3 | ||||
-rw-r--r-- | distrib/sets/maketars | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/distrib/sets/makeetcset b/distrib/sets/makeetcset index 76de05a82da..5be05352bf1 100644 --- a/distrib/sets/makeetcset +++ b/distrib/sets/makeetcset @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: makeetcset,v 1.3 2016/11/06 12:16:14 tb Exp $ +# $OpenBSD: makeetcset,v 1.4 2016/11/20 11:00:19 tb Exp $ # # Copyright (c) 2014 Robert Peichaer <rpe@openbsd.org> # @@ -16,6 +16,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. set -e +umask 022 CURDIR=$1 MAKE=$2 diff --git a/distrib/sets/maketars b/distrib/sets/maketars index b8ff0e1f92b..f35955cb02a 100644 --- a/distrib/sets/maketars +++ b/distrib/sets/maketars @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: maketars,v 1.24 2014/08/26 20:19:26 rpe Exp $ +# $OpenBSD: maketars,v 1.25 2016/11/20 11:00:19 tb Exp $ # # Copyright (c) 2001 Theo de Raadt # All rights reserved. @@ -24,7 +24,7 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - +umask 022 RELEASE=$1 if [ "X${RELEASE}" = "X" ]; then |