* tests/cp/preserve-gid: Set group as well as owner on ".".
Reported by Elias Pipping.
2008-01-26 Jim Meyering <meyering@redhat.com>
+ Avoid cp/preserve-gid test failure on Mac OS 10.5.1 (Darwin 9.1)
+ * tests/cp/preserve-gid: Set group as well as owner on ".".
+ Reported by Elias Pipping.
+
Improve a warning about non-portable "mv" usage.
* doc/coreutils.texi (mv invocation): Adjust the warning: moving a
dir-symlink-specified-with-a-trailing-slash works in a surprising
Eirik Fuller eirik@hackrat.com
Eivind eivindt@multinet.no
Eli Zaretskii eliz@is.elta.co.il
+Elias Pipping pipping@gentoo.org
Emile LeBlanc leblanc@math.toronto.edu
Eric Backus ericb@lsid.hp.com
Eric Blake ebb9@byu.net
#!/bin/sh
# Verify that cp -p preserves GID when it is possible.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
skip_test_ "couldn't find a nameless UID or GID"
fi
-chown "+$nameless_uid" .
+chown "+$nameless_uid:+0" .
create a0 0 0
create b0 "$nameless_uid" "$nameless_gid1"