in reply to Permission problem in creating directory!

try chmod the dir after creating it using :

`chmod 777 $dump_dir`

HTH

Replies are listed 'Best First'.
Re^2: Permission problem in creating directory!
by chibiryuu (Beadle) on Apr 13, 2006 at 20:41 UTC

    chmod 0777, $dump_dir is preferable to `chmod 777 $dump_dir`.  No backticks needed; chmod is a Perl builtin.

    (This is just a side-note.  umask is the correct solution.)