Subject: install/16207: Systat not installed correctly from unprived build
To: None <gnats-bugs@gnats.netbsd.org>
From: Richard Earnshaw <rearnsha@arm.com>
List: netbsd-bugs
Date: 04/05/2002 18:57:08
>Number:         16207
>Category:       install
>Synopsis:       Systat not installed correctly from unprived build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 05 09:59:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Richard Earnshaw
>Release:        NetBSD 1.5ZC
>Organization:
ARM
-- 
>Environment:
	
	
System: NetBSD shark1 1.5ZC NetBSD 1.5ZC (GENERIC) #0: Fri Apr 5 11:37:43 BST 2002 rearnsha@shark1:/work/build/kernels/GENERIC shark
Architecture: arm
Machine: shark
>Description:
	From a unprivilaged build, the meta-data does not seem to be correctly
	reflected in the tar file when two files are linked together.

	From the tar file, we see:

-r-xr-xr-x root/wheel     87044 Apr  5 01:28 2002 ./usr/bin/sysstat
-r-xr-sr-x root/kmem          0 Apr  5 01:28 2002 ./usr/bin/systat link to ./usr

	note that while the attributes on the link are correct, these don't
	matter, since the permissions come from the real file during the
	extract.

	
>How-To-Repeat:
	Do an unprivilaged build, then install the files.  Note that systat
	does not have suid permissions.
	
>Fix:
	The permissions can always be fixed up manually, but this is a
	quality of implementation issue.
	
>Release-Note:
>Audit-Trail:
>Unformatted:
 To: gnats-bugs@gnats.netbsd.org
 Subject: Systat not installed correctly from unprived build
 From: rearnsha
 Reply-To: rearnsha
 X-send-pr-version: 3.95