summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--old/fileutils/ChangeLog8
-rw-r--r--old/fileutils/NEWS2
2 files changed, 10 insertions, 0 deletions
diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog
index 36b96be77..b8d7af132 100644
--- a/old/fileutils/ChangeLog
+++ b/old/fileutils/ChangeLog
@@ -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 `.'
diff --git a/old/fileutils/NEWS b/old/fileutils/NEWS
index ceff914d5..65d99796c 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.