in reply to Solaris IO?

You may want to make sure that $newdir actually contains the directory's name, you can simply print it. Another thing is that while you're trying to create the directory with permissions 766 the next line you change to 777. You could simply
do { mkdir $newdir, 0777 || die "Yikes!, $!\n" } unless (-e $newdir)

HTH

Sweetblood

Replies are listed 'Best First'.
Re^2: Solaris IO?
by gwhite (Friar) on Aug 17, 2004 at 12:05 UTC

    Yes, the create and change was one of my debugging efforts, and $newdir does contain the directory, like I mentioned before, this code runs fine on a different platform and I have printed it in the program debug mode. I suspect a minor syntax difference with Solaris or an OS issue with permissions or the user that the web server runs under.

    g_White
      By chance did you try from the command line, creating the directory on Solaris, under the web server user ID? That might reveal something..