From: Jim Meyering Date: Fri, 18 Aug 2000 07:08:34 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: FILEUTILS-4_0y~22 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dde8f61f1c2b8d2d606118f67b2c318cca332a12;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog index 36b96be770..b8d7af1325 100644 --- a/old/fileutils/ChangeLog +++ b/old/fileutils/ChangeLog @@ -1,3 +1,11 @@ +2000-08-17 Paul Eggert + + * src/copy.c (DO_CHOWN): Do not make a special case for non-root. + POSIX.2 requires that cp -p and mv attempt to set the uid of the + destination file, even if you're not root. This affects behavior + only on hosts that let you give files away via chmod. + * NEWS: Describe the above change. + 2000-08-15 Jim Meyering * src/du.c (count_entry): Remember the current directory also for `.' diff --git a/old/fileutils/NEWS b/old/fileutils/NEWS index ceff914d5f..65d99796c8 100644 --- a/old/fileutils/NEWS +++ b/old/fileutils/NEWS @@ -1,5 +1,7 @@ Changes in release 4.1: [4.0y] +* cp -p and mv now try to preserve uid even if you're not root, as per POSIX.2. + This affects behavior only on hosts that let you give files away via chmod. * du would fail when given `.' or `..' followed by other command line arguments * Using cp's short-named `-P' option evokes the warning that that the meaning of `-P' will soon change. Use `--parents' instead.