> Jim Meyering <address@hidden> wrote:
>> * tests/rm/fail-2eperm: Now that we have setuidgid, use it in
>> place of the kludge in this test.
>
> Thanks. I think NON_ROOT_USERNAME should be mentioned in README too.
> (ATM, README still has a now-out-of-date note that setuidgid ought to
> be used.)
So do I :-)
Thanks! I've made this change:
Index: README
===================================================================
RCS file: /fetish/cu/README,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 README
--- README 6 Jul 2003 06:08:17 -0000 1.10
+++ README 16 Jul 2003 07:57:47 -0000
@@ -73,10 +73,14 @@ Here is one possible patch to correct th
-#ifndef __STDC_32_MODE__
+#ifndef __LP64__
-On some systems, some of the tests fail when run as root. All failures
-I've seen appear to be due to problems in the testing framework, not
-in the tools themselves. I'll address that for the next release by
-using a program like setuidgid (see the comment in TODO).
+If you run the tests as root, note that a few of them create files
+and/or run programs as a non-root user, `nobody' by default.
+If you want to use some other non-root username, specify it via
+the NON_ROOT_USERNAME environment variable.
+If you can run the tests as root, please do so and report any
+problems. We get much less test coverage in that mode, and it's
+arguably more important that these tools work well when run by
+root than when run by unprivileged users.
***************************************