From: Jim Meyering Date: Thu, 11 Nov 1999 12:12:23 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: FILEUTILS-4_0j-trial~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=101ae141c6174f4971a1533ef2eb298ebb1de44a;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog index cfc6e26705..d249746158 100644 --- a/old/fileutils/ChangeLog +++ b/old/fileutils/ChangeLog @@ -1,3 +1,16 @@ +1999-11-11 Jim Meyering + + * src/copy.c (copy_internal): Treat src and dest as the `same' in + `mv src symlink-to-src' when src and dest are on different partitions. + Otherwise, that `mv' command would silently remove `src'. + Reported by Michael Stone. + + * lib/makepath.c (make_path): Fix long-latent bug (note others + just like it were fixed in 1998-01-02). + A user (FIXME, who?) reported that using `install -d -g foo 1/2` + only sets the group on the intermediate directory, not the final + component. From Michael Stone. + 1999-11-07 Paul Eggert * human.c (default_block_size): New function. diff --git a/old/fileutils/NEWS b/old/fileutils/NEWS index acfccf23fd..bded36efe3 100644 --- a/old/fileutils/NEWS +++ b/old/fileutils/NEWS @@ -1,5 +1,10 @@ Changes in release 4.1: [4.0j] +* mv now refuses to move a file onto a symlink to itself when that symlink + is on a separate partition. Before, it would remove the file and leave + the symlink. +* `install -d -g foo 1/2' now sets the `group' of the final component as well + as that of the leading one. * under certain conditions, chgrp would fail to affect files referenced through symlinks. Now it does. * ln now makes hard links to symlinks on systems that support it.