|
From: Geert U. <Gee...@so...> - 2009-08-27 09:49:04
|
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...>
---
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
--
1.6.2.4
With kind regards,
Geert Uytterhoeven
Software Architect
Techsoft Centre
Technology and Software Centre Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium
Phone: +32 (0)2 700 8453
Fax: +32 (0)2 700 8622
E-mail: Gee...@so...
Internet: http://www.sony-europe.com/
A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 · RPR Brussels
Fortis · BIC GEBABEBB · IBAN BE41293037680010
|