Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Oct 1995 23:46:17 +1000
From:      Bruce Evans <bde@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
Message-ID:  <199510031346.XAA18032@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510031346.XAA18032>