Subject: CVS commit: src/bin/cp
To: None <source-changes@NetBSD.org>
From: Jed Davis <jld@netbsd.org>
List: source-changes
Date: 10/25/2007 03:51:15
Module Name:	src
Committed By:	jld
Date:		Thu Oct 25 03:51:15 UTC 2007

Modified Files:
	src/bin/cp: utils.c

Log Message:
Touching up the permissions to preserve set-ID bits is appropriate
only in the case where the destination did not previously exist, and
necessary only when -p isn't given.

Closes PR bin/30188.


To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 src/bin/cp/utils.c

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