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:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Reply via email to