bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils-5.92 - tests/cp/fail-perm fails when run as root


From: Paul Eggert
Subject: Re: coreutils-5.92 - tests/cp/fail-perm fails when run as root
Date: Sun, 30 Oct 2005 13:51:02 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Thanks for tracking down the mkdir test failure and the fd-reopen.c
configuration problem.  I installed this into coreutils.

By the way, I've been installing my coreutils changes only into the
main branch.  Jim Meyering will decide which of them should go into
the 5.9x branch (though naturally I think all of them I've installed
so far should go in :-).

2005-10-30  Paul Eggert  <address@hidden>

        Fix porting problems reported by Theodoros V. Kalamatianos.
        * lib/fd-reopen.c [defined HAVE_CONFIG_H]: Include <config.h>,
        so that large files can be opened.
        * tests/mkdir/p-3: Require that the test be run as non-root.

--- lib/fd-reopen.c     3 Jul 2005 09:07:22 -0000       1.2
+++ lib/fd-reopen.c     30 Oct 2005 21:43:43 -0000
@@ -18,6 +18,10 @@
 
 /* Written by Paul Eggert.  */
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include "fd-reopen.h"
 
 #include <errno.h>
--- tests/mkdir/p-3     15 Jun 2005 08:32:11 -0000      1.4
+++ tests/mkdir/p-3     30 Oct 2005 21:43:43 -0000
@@ -8,6 +8,8 @@ if test "$VERBOSE" = yes; then
   mkdir --version
 fi
 
+PRIV_CHECK_ARG=require-non-root . $srcdir/../priv-check
+
 pwd=`pwd`
 t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$
 trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]