Subject: CVS commit: basesrc/bin/pax
To: None <source-changes@netbsd.org>
From: grant beattie <grant@netbsd.org>
List: source-changes
Date: 12/19/2002 16:02:55
Module Name:	basesrc
Committed By:	grant
Date:		Thu Dec 19 14:02:55 UTC 2002

Modified Files:
	basesrc/bin/pax: file_subs.c

Log Message:
Don't attempt to chown files if euid != 0, and make chown() non-fatal
if it does fail.

This addresses my PR bin/18912 (running pkg_info as non-root user on a
binary package).


To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 basesrc/bin/pax/file_subs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.