Stas Bekman wrote:
Volker Kroll wrote:

On Tue, 2003-12-16 at 19:24, Stas Bekman wrote:

Volker Kroll wrote:
[...]

drwxr-xr-x   19 root     root  4096 Dec 15 09:55 /root/modperl-2.0
drwxr-x---   21 root     root  4096 Dec 16 11:06 /root


and what are the perms of /root/modperl-2.0/t?


drwxr-xr-x 21 nobody nobody 4096 Dec 16 18:54 t


Perfect. After adjusting the ownership on /t like yours I can reproduce OK. Stay tuned for the fix.

I think I've figured it out. Can you please try with the current cvs or just apply this patch:


Index: Apache-Test/lib/Apache/TestRun.pm
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm,v
retrieving revision 1.124
diff -u -r1.124 TestRun.pm
--- Apache-Test/lib/Apache/TestRun.pm   14 Dec 2003 02:09:04 -0000      1.124
+++ Apache-Test/lib/Apache/TestRun.pm   16 Dec 2003 20:23:39 -0000
@@ -814,8 +814,9 @@
 sub run_root_fs_test {
     my($uid, $gid, $dir) = @_;

-    # first must change gid and egid
-    $( = $) = $gid+0;
+    # first must change gid and egid ("$gid $gid" for an empty
+    # setgroups() call as explained in perlvar.pod)
+    $( = $) = "$gid $gid";
     die "failed to change gid to $gid" unless $( == $gid;

# only now can change uid and euid

__________________________________________________________________
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


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to