From 85f036914cc870463d7b300383dccef399f1f0ff Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Tue, 6 Feb 2018 08:42:34 +0000 Subject: Run newvers.sh with umask 007 to work around permission issues that cause 'make release' fail the first time around after building GENERIC if /usr/obj/ wasn't cleaned out properly. The proper fix would be to implement privdrop for kernel builds but this is trickier than it looks at first sight. discussed with deraadt --- share/man/man8/release.8 | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'share/man/man8') diff --git a/share/man/man8/release.8 b/share/man/man8/release.8 index 7974752ae6b..ca243c28260 100644 --- a/share/man/man8/release.8 +++ b/share/man/man8/release.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: release.8,v 1.91 2017/12/23 16:20:21 sthen Exp $ +.\" $OpenBSD: release.8,v 1.92 2018/02/06 08:42:33 tb Exp $ .\" .\" Copyright (c) 2000 Marco S. Hyman .\" Copyright (c) 2016 Theo Buehler @@ -10,7 +10,7 @@ .\" LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS .\" FOR A PARTICULAR PURPOSE. .\" -.Dd $Mdocdate: December 23 2017 $ +.Dd $Mdocdate: February 6 2018 $ .Dt RELEASE 8 .Os .Sh NAME @@ -130,11 +130,6 @@ The build process will place the object files in a tree under .Pa /usr/obj . This directory must be owned by build:wobj with mode 770. .Pp -The first time, the -.Pa /usr/obj -directory -.Em must be -cleaned out completely before proceeding to avoid permission issues. After a successful .Nm build, this is no longer needed. -- cgit v1.2.3