Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Solaris IO?

by sweetblood (Prior)
on Aug 17, 2004 at 11:43 UTC ( [id://383622]=note: print w/replies, xml ) Need Help??


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..

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://383622]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2024-04-16 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found