Return-Path: Delivered-To: apmail-httpd-test-dev-archive@httpd.apache.org Received: (qmail 3694 invoked by uid 500); 28 Jul 2003 23:53:41 -0000 Mailing-List: contact test-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: test-dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list test-dev@httpd.apache.org Received: (qmail 3644 invoked from network); 28 Jul 2003 23:53:40 -0000 Message-ID: <3F25B754.7040609@stason.org> Date: Tue, 29 Jul 2003 01:52:52 +0200 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428 X-Accept-Language: en-us, en MIME-Version: 1.0 To: test-dev@httpd.apache.org Subject: Re: Apache::Test oustanding issues References: <81AB3FE7-C14B-11D7-9642-0003931A964A@kineticode.com> In-Reply-To: <81AB3FE7-C14B-11D7-9642-0003931A964A@kineticode.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N David Wheeler wrote: > On Monday, July 28, 2003, at 03:24 PM, Stas Bekman wrote: > >> 2) We have a problem with Apache::Test running as root, since when >> Apache "sudoes" into 'nobody' it can't access files under /root or >> some other root owned dir. The current cvs version already tries to >> tell the user about the problem before starting to run the test suite. >> >> Currently the only solution that was suggested is to copy t/ into /tmp >> and run the tests from there and then cleanup. That doesn't sound good >> to me, however I don't have any better ideas. I hope that you do. > > > What about > > chmod 0777, 't' or die "Can't chmod 't': $!\n"; We do that already. The problem is in the parent path. Try: cd /root ; mkdir t ; chmod 0777 t ; sudo -u 'nobody' perl -le 'print -r "t" && -w _ && -x _ ? "OK" : "NOK"' __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@stason.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com