|
From: Subrata M. <su...@li...> - 2009-08-28 06:09:20
|
On Thu, 2009-08-27 at 11:48 +0200, Geert Uytterhoeven wrote: > On Wed, 26 Aug 2009, Mike Frysinger wrote: > > On Wednesday 26 August 2009 10:51:29 Geert Uytterhoeven wrote: > > > --- a/INSTALL > > > +++ b/INSTALL > > > @@ -67,6 +67,9 @@ contributions are welcome. > > > 2. Untar the ltp tarball into a spare directory. There is not a > > > standard location for it yet. We put it in our home directory > > > while we're working on it. > > > + Note that this location must be accessible for unprivileged users, as > > > + some tests are run as a different user than root. Hence /root is not a > > > + good choice on several distributions. > > > > i would use the phrase "full path to this location". non-root could access > > ./foo/, but it could not access $PWD/foo/ ... > > -mike > > Thanks, that's indeed better! > > >From 741d03a6753015ba6373d1f629f4117f978d6129 Mon Sep 17 00:00:00 2001 > From: Geert Uytterhoeven <Gee...@so...> > Date: Wed, 26 Aug 2009 16:24:59 +0200 > Subject: [PATCH] LTP must be extracted to an accessible location > > If extracted to /root and /root has permissions 750, the following > tests will fail: > > - cron02: > > bash: /root/ltp-cvs/testcases/bin/cron_pos_tests.sh: Permission denied > > - cron_allow01: > > bash: /root/ltp-cvs/testcases/bin/cron_allow01: Permission denied > bash: /root/ltp-cvs/testcases/bin/cron_allow01: Permission denied > > - cron_deny01: > > bash: /root/ltp-cvs/testcases/bin/cron_deny01: Permission denied > bash: /root/ltp-cvs/testcases/bin/cron_deny01: Permission denied > > - su01: > > bash: /root/ltp-cvs/testcases/bin/su01_s1: Permission denied > > Signed-off-by: Geert Uytterhoeven <Gee...@so...> Thanks. Regards-- Subrata > --- > INSTALL | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/INSTALL b/INSTALL > index 98883fb..73ff29c 100644 > --- a/INSTALL > +++ b/INSTALL > @@ -67,6 +67,9 @@ contributions are welcome. > 2. Untar the ltp tarball into a spare directory. There is not a > standard location for it yet. We put it in our home directory > while we're working on it. > + Note that the full path to this location must be accessible for > + unprivileged users, as some tests are run as a different user than root. > + Hence /root is not a good choice on several distributions. > > 3. Run "make" to build everything. > *NOTE: Some of the Makefiles (example: pan/Makefile) require the lex (or |