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
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to