gwhite has asked for the wisdom of the Perl Monks concerning the following question:
I have a cross platform CGI application, it does great on *nix systems, but my reporting system is having trouble creating files and directories on Solaris (both v8 and v9). The programs run fine, just no output files and no errors thrown or I get an empty file. The output comes from both my program and a couple of modules (SpreadSheet::WriteExcel for one). But this is pretty simple stuff, for instance:
Under *nix this creates my report directory, under Solaris, I get nothing.if (!(-e $newdir)) { mkdir $newdir, 0766 or die "couldn't mkdir $newdir because: $!\n"; chmod (0777, $newdir)or die "couldn't chmod $newdir because: $!\n" +; }
Is there anything unique to Solaris in regards to permissions or users that are gotchas that could be causing this?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Solaris IO?
by sweetblood (Prior) on Aug 17, 2004 at 11:43 UTC | |
by gwhite (Friar) on Aug 17, 2004 at 12:05 UTC | |
by hsinclai (Deacon) on Aug 17, 2004 at 12:50 UTC | |
|
Re: Solaris IO?
by neilh (Pilgrim) on Aug 18, 2004 at 01:27 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |