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;
my $path= lc $class;
$path =~ s/::/_/g;
my $tmpdir = (File::Spec->tmpdir,$path)->cleanup;
-------------- next part --------------
An HTML attachment was scrubbed...