summaryrefslogtreecommitdiffstats
path: root/share/zoneinfo
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2016-11-08 22:31:45 +0000
committertb <tb@openbsd.org>2016-11-08 22:31:45 +0000
commit5879133a064a16d5284970bbf75855598c42bc2d (patch)
treeb9bbde5055471009a79c3b42f734269456a79df7 /share/zoneinfo
parentsome cleanup; (diff)
downloadwireguard-openbsd-5879133a064a16d5284970bbf75855598c42bc2d.tar.xz
wireguard-openbsd-5879133a064a16d5284970bbf75855598c42bc2d.zip
Most directories in /usr/share/zoneinfo are created by zic(8), hence their
permissions are subject to the umask. Set them explicitly to a=rx. ok millert
Diffstat (limited to 'share/zoneinfo')
-rw-r--r--share/zoneinfo/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/zoneinfo/Makefile b/share/zoneinfo/Makefile
index fe05c1f406e..683b2f863cf 100644
--- a/share/zoneinfo/Makefile
+++ b/share/zoneinfo/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2014/08/15 16:48:58 millert Exp $
+# $OpenBSD: Makefile,v 1.10 2016/11/08 22:31:45 tb Exp $
# $NetBSD: Makefile,v 1.14 1995/04/22 12:10:17 cgd Exp $
# Change the line below for your time zone (after finding the zone you want in
@@ -83,6 +83,7 @@ realinstall: ${DATA} ${REDO} ${YEARISTYPECOPY}
${ZIC} -y ${YEARISTYPECOPY} -d ${TZDIR} -p ${POSIXRULES})
chown -R ${BINOWN}:${BINGRP} ${TZDIR}
find ${TZDIR} -type f -print0 | xargs -0r chmod a=r
+ find ${TZDIR} -type d -print0 | xargs -0r chmod a=rx
${INSTALL} -c -o root -g bin -m 644 ${.CURDIR}/datfiles/iso3166.tab \
${DESTDIR}/usr/share/misc
${INSTALL} -c -o root -g bin -m 644 ${.CURDIR}/datfiles/zone.tab \