From 1e47145d726d0db92b141981bf8d321e6d934a48 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 29 Jul 2003 20:55:00 +0000 Subject: When running tests as root, suggest using sudo with NON_ROOT_USERNAME=$USER. --- README | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'README') diff --git a/README b/README index 658828151..7dc7b1830 100644 --- a/README +++ b/README @@ -76,11 +76,20 @@ Here is one possible patch to correct the problem. 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. +the NON_ROOT_USERNAME environment variable. Depending on the +permissions with which the working directories have been created, +using `nobody' may fail, because that use won't have the required +read and write access to the build and test directories. +I find that it is best to unpack and build as a non-privileged +user, and then to run the following command as that user in order +to run the privilege-requiring tests: + + sudo env NON_ROOT_USERNAME=$USER make check + 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. +root than when run by less privileged users. *************************************** -- cgit v1.2.3-70-g09d2