summaryrefslogtreecommitdiff
path: root/old/fileutils
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-08-18 07:08:34 +0000
committerJim Meyering <jim@meyering.net>2000-08-18 07:08:34 +0000
commitdde8f61f1c2b8d2d606118f67b2c318cca332a12 (patch)
treea8c08aa8e199b82135d7eafa4512198a2a4228dd /old/fileutils
parent169618899316983100d6d3891a002a1178cefa3f (diff)
downloadcoreutils-dde8f61f1c2b8d2d606118f67b2c318cca332a12.tar.xz
*** empty log message ***
Diffstat (limited to 'old/fileutils')
-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.