does the file aa.lst already exists in /tmp? if so, does your script have permission to write to it? the error doesn't seem like a permission problem...
david On Tue, 2002-08-27 at 11:49, Allen Wang wrote: > Yes, we do have "/tmp" diretory and everyone has write permission to > "/tmp" > > Thanks, > allen > > -----Original Message----- > From: Joe Raube [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 27, 2002 11:47 AM > To: [EMAIL PROTECTED] > Subject: Re: Create an output file using Perl > > > Does the /tmp directory exist? does the user running this script have > write permissions to that directory? > > --- Allen Wang <[EMAIL PROTECTED]> wrote: > > > > i want to generate an output file using perl > > > > open (OFILE, " > /tmp/aa.lst") or die "Can't write $p_OutputFile: > > $! "; > > > > Everytime I ran it, I got the following error message. > > > > Can't write /tmp/aa.lst: No such file or directory at compare.pl > > line 71. > > > > > > Any suggestions? > > > > Thanks, > > Allen > > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]