NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

install/59947: Wrong permissions on /usr/pkgsrc from install DVD



>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@localhost:/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.



Home | Main Index | Thread Index | Old Index