NetBSD Problem Report #59947

From user@rvm0.internal  Mon Jan 26 16:06:29 2026
Return-Path: <user@rvm0.internal>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.netbsd.org", Issuer "R13" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 8B40A1A923D
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 26 Jan 2026 16:06:29 +0000 (UTC)
Message-Id: <20260122151559.05BEF6150@rvm0.internal>
Date: Thu, 22 Jan 2026 15:15:58 +0000 (UTC)
From: user@rvm0.internal
Reply-To: user@rvm0.internal
To: gnats-bugs@NetBSD.org
Subject: Wrong permissions on /usr/pkgsrc from install DVD
X-Send-Pr-Version: 3.95
X-From4GNATS: "user@rvm0.internal via gnats" <gnats-admin@NetBSD.org>

>Number:         59947
>Category:       install
>Synopsis:       Wrong permissions on /usr/pkgsrc from install DVD
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 26 16:10:00 +0000 2026
>Originator:     user@rvm0.internal
>Release:        NetBSD 10.1
>Organization:
>Environment:
System: NetBSD rvm0.internal 10.1 NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	When installing pkgsrc from the install DVD, the extracted directory
	has invalid user-id, group-id, and permissions.
	The user id is set to 600 (srcmastr), the group id is set to
	125 (netbsd), and the permissions are set to 0775 instead of 0755.

	That last part causes checkperms to report a warning with
	"group-writable directory" when building a pkgsrc pacakge. 
>How-To-Repeat:
	Install NetBSD on a machine, and use the "Fetch and unpack pkgsrc for
	building from source" option in the "System configuration" menu of the
	installer (https://www.netbsd.org/docs/guide/en/chap-exinst.html#exinst-system-configuration).
>Fix:
	The installer should correct the permissions immediately after the file
	extraction, before returning to the installation menu.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.