Did you create fileb on the server with some Perl code or FTP it up there? There can be different permissions set with those two methods. Andy ----- Original Message ----- From: "Jim McCoy" <[EMAIL PROTECTED]> To: "Carl Jolley" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, March 06, 2001 3:35 PM Subject: Re: File Permissions on NT > Here is the error message: > Uncaught exception from user code: OPEN FAILED Permission denied at > e:\web\jcoy\cgi-bin\jimbook_upd.pl line 7. > > Here is the code from line 7: > open (OFILE, ">>e:/web/jcoy/data/filea.txt") || die "OPEN FAILED $!"; > > > I have another file, fileb. If I try to access fileb with this code, or > rename fileb to filea, it works fine. > Both files have read and write permission. > > Thanks, > > Jim Mc Coy > > > ----- Original Message ----- > From: Carl Jolley <[EMAIL PROTECTED]> > To: Jim McCoy <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Tuesday, March 06, 2001 4:00 PM > Subject: Re: File Permissions on NT > > > > On Mon, 5 Mar 2001, Jim McCoy wrote: > > > > > I have a file, FILEA, that I can write to with other software but not > with > > > Perl. > > > If I rename FILEB to FILEA I can write to that without changing the Perl > > > script at all. > > > The file resides on the server at my ISP so I really don't have too much > > > control over anything but I am sure that the file has write permission. > > > Is there any other reason I would get file permission errors in Perl? > > > > > What do you mean, you can't write to the file? Do you get an error > > when you try to open the file for output? If so what does $! contain? > > > > **** [EMAIL PROTECTED] <Carl Jolley> > > **** All opinions are my own and not necessarily those of my employer **** > > > > > > > > _______________________________________________ > Perl-Win32-Users mailing list > [EMAIL PROTECTED] > http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users > _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
