*** empty log message ***
authorJim Meyering <jim@meyering.net>
Fri, 18 Aug 2000 07:08:34 +0000 (07:08 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 18 Aug 2000 07:08:34 +0000 (07:08 +0000)
old/fileutils/ChangeLog
old/fileutils/NEWS

index 36b96be..b8d7af1 100644 (file)
@@ -1,3 +1,11 @@
+2000-08-17  Paul Eggert  <eggert@twinsun.com>
+
+       * 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  <meyering@lucent.com>
 
        * src/du.c (count_entry): Remember the current directory also for `.'
index ceff914..65d9979 100644 (file)
@@ -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.