NetBSD Problem Report #59937
From www@netbsd.org Sat Jan 24 15:29:18 2026
Return-Path: <www@netbsd.org>
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 F34651A923E
for <gnats-bugs@gnats.NetBSD.org>; Sat, 24 Jan 2026 15:29:17 +0000 (UTC)
Message-Id: <20260124152917.12D801A923F@mollari.NetBSD.org>
Date: Sat, 24 Jan 2026 15:29:17 +0000 (UTC)
From: 7heo@mail.com
Reply-To: 7heo@mail.com
To: gnats-bugs@NetBSD.org
Subject: Wrong permissions on /usr/pkgsrc from install DVD
X-Send-Pr-Version: www-1.0
X-From4GNATS: "7heo@mail.com via gnats" <gnats-admin@NetBSD.org>
>Number: 59937
>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: Sat Jan 24 15:30:01 +0000 2026
>Originator: 7heo
>Release: NetBSD 10.1
>Organization:
>Environment:
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
>Description:
When installing pkgsrc from the install DVD (sysinst), 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)
- 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.
The problem has already been reported in #48365, but that PR didn't mention the permissions/warning issue.
>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.
(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.