summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrpe <rpe@openbsd.org>2016-09-05 09:15:05 +0000
committerrpe <rpe@openbsd.org>2016-09-05 09:15:05 +0000
commita6707e434d9509c9efab282a0d22163eded1b8df (patch)
treeb2d25d30b389aecbebd279c0872e1f1abd7f81e1
parentrevert moving pools from tree.h to subr_tree.c rb trees. (diff)
downloadwireguard-openbsd-a6707e434d9509c9efab282a0d22163eded1b8df.tar.xz
wireguard-openbsd-a6707e434d9509c9efab282a0d22163eded1b8df.zip
Relax permissions to make files readable by unpriv users again.
Found out by naddy OK deraadt
-rw-r--r--distrib/miniroot/dot.profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/dot.profile b/distrib/miniroot/dot.profile
index 05ec2bd5f22..996169b2c31 100644
--- a/distrib/miniroot/dot.profile
+++ b/distrib/miniroot/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.33 2016/09/04 09:56:46 rpe Exp $
+# $OpenBSD: dot.profile,v 1.34 2016/09/05 09:15:05 rpe Exp $
# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $
#
# Copyright (c) 2009 Kenneth R. Westerback
@@ -65,7 +65,7 @@ Welcome to the $OBSD installation program.
__EOT
# Create working directories with proper permissions in /tmp.
- mkdir -m u=rwx,go= -p /tmp/{ai,i}
+ mkdir -m u=rwx,go=rx -p /tmp/{ai,i}
# Did we netboot? If so, then start the automatic installation
# after a timeout, but only the very first time around.