Skip Menu |

This queue is for tickets about the Catalyst-Runtime CPAN distribution.

Report information
The Basics
Id: 26831
Status: rejected
Priority: 0/
Queue: Catalyst-Runtime

People
Owner: Nobody in particular
Requestors: LGODDARD [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Catalyst::Utils::class2tempdir permissions
Catalyst::Utils::class2tempdir seems to create temporary directories (in /tmp) as root, which upsets other things. Is there something I should have done that I've overlooked?
From: dreuxl [...] gmail.com
Le Lun. Avr. 30 09:16:05 2007, LGODDARD a écrit : Show quoted text
> Catalyst::Utils::class2tempdir seems to create temporary directories > (in /tmp) as root, which upsets other things. Is there something I > should have done that I've overlooked?
I have the same bug in Catalyst 5.7007 with Apache2 and mod_perl 2.0.3 on Rhel 4.
Subject: Re: [rt.cpan.org #26831] Catalyst::Utils::class2tempdir permissions
Date: Wed, 19 Sep 2007 18:04:15 +0100
To: Loic Dreux via RT <bug-Catalyst-Runtime [...] rt.cpan.org>
From: Matt S Trout <rt-cpan [...] trout.me.uk>
On Wed, Sep 19, 2007 at 04:26:41AM -0400, Loic Dreux via RT wrote: Show quoted text
> > Queue: Catalyst-Runtime > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=26831 > > > Le Lun. Avr. 30 09:16:05 2007, LGODDARD a écrit :
> > Catalyst::Utils::class2tempdir seems to create temporary directories > > (in /tmp) as root, which upsets other things. Is there something I > > should have done that I've overlooked?
> > I have the same bug in Catalyst 5.7007 with Apache2 and mod_perl 2.0.3 > on Rhel 4.
That's not a bug. The problem is you're creating a temp dir during startup before mod_perl has setuid'ed. If you don't know how to configure mod_perl, I'd recommend using FastCGI instead. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director http://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/