I also want to see the console messages (not error_log) when you run from under /root/mod_perl-1.99_11/ as you did it in first place.
> ulimit -c unlimited; t/TEST -bugreport -verbose=0 > *** root mode: changing the files ownership to 'nobody' (99:99) > *** /usr/bin/perl -e ' require POSIX; POSIX::setuid(99); > POSIX::setgid(99); print -r q{/root/mod_perl-1.99_11/t} && -w _ && > -x _ ? q{OK} : q{NOK}; ' > > *** result: OK
That explains the problem. My test to check whether user 'nobody' will be able to access files under /root seems to pass, but when Apache starts as nobody it doesn't.
Can you please show us the perms of your /root directory? e.g. on my machine it's:
drwx------ 43 root root 4096 Dec 8 14:31 root
I also want to see:
% grep nobody /etc/passwd
May be POSIX::setuid(99) fails? Does running the following as root:
% /usr/bin/perl -le 'require POSIX; POSIX::setuid(99); POSIX::setgid(99); \
print -r q{/root} && -w _ && -x _ ? q{OK} : q{NOK}; 'gives you:
OK?
If it does, the following will probably fail too:
perl -le 'require POSIX; POSIX::setuid(99) or die "failed to run: $@";'
and this?
% /usr/bin/perl -le 'require POSIX; \
POSIX::setuid(99) or die "NOK"; \
POSIX::setgid(99) or die "NOK"; \
print -r q{/root} && -w _ && -x _ ? q{OK} : q{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
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
