diff options
author | Jim Meyering <jim@meyering.net> | 2003-07-29 20:55:00 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-07-29 20:55:00 +0000 |
commit | 1e47145d726d0db92b141981bf8d321e6d934a48 (patch) | |
tree | af8552fbfe598c19b69f5a78b14cf3b918939863 /README | |
parent | c2b4cbc163e9585bc6d18e4b01089fae4fd293aa (diff) | |
download | coreutils-1e47145d726d0db92b141981bf8d321e6d934a48.tar.xz |
When running tests as root, suggest using sudo with NON_ROOT_USERNAME=$USER.
Diffstat (limited to 'README')
-rw-r--r-- | README | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -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. *************************************** |