From owner-freebsd-commit Tue Oct 3 06:49:56 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA03489 for freebsd-commit-outgoing; Tue, 3 Oct 1995 06:49:56 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA03472 for cvs-all-outgoing; Tue, 3 Oct 1995 06:49:48 -0700 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA03457 for cvs-bin-outgoing; Tue, 3 Oct 1995 06:49:46 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id GAA03440 ; Tue, 3 Oct 1995 06:49:35 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id XAA18032; Tue, 3 Oct 1995 23:46:17 +1000 Date: Tue, 3 Oct 1995 23:46:17 +1000 From: Bruce Evans Message-Id: <199510031346.XAA18032@godzilla.zeta.org.au> To: CVS-commiters@freefall.freebsd.org, bde@freefall.freebsd.org, cvs-bin@freefall.freebsd.org Subject: Re: cvs commit: src/bin/cp utils.c Sender: owner-commit@FreeBSD.org Precedence: bulk > Modified: bin/cp utils.c > Log: > Preserve sticky bit for `cp -pR'. It was already preserved for `cp -R'. > This also fixes loss of the sticky bit for `mv' across file systems. This should probably go in 2.1. I plan to fix `cp -f' soon too (-f just truns off -i; it doesn't remove the target like it is supposed to). Other bugs in cp include: - `cp -pR' doesn't preserve timestamps on directories. - `cp -pR' doesn't preserve links. These problems are most serious when `cp -pRP' is used by `mv' to move directory trees across file systems. Bruce