FAQ
hi,

when we have catalyst app named My::App, when starting it
creates catalog /tmp/my/app.

later when we try to start My::App2 as a different user, it
fails as /tmp/my is owned by the user of My::App and
due to permissions /tmp/my/app2 cannot be created.

small change in tmpdir scheme from /tmp/my/app to
/tmp/my_app would solve such permissions problems

in Catalyst::Utils instead of

my @parts = split '::', lc $class;
my $tmpdir = dir( File::Spec->tmpdir, @parts )->cleanup;

could be

my $path= lc $class;
$path =~ s/::/_/g;
my $tmpdir = (File::Spec->tmpdir,$path)->cleanup;


--
regards
piotr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110110/252d8e93/attachment.htm

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedJan 10, '11 at 10:51a
activeJan 10, '11 at 10:51a
posts1
users1
websitecatalystframework.org
irc#catalyst

1 user in discussion

P p: 1 post

People

Translate

site design / logo © 2022 Grokbase