Re: tempfile permissions

2004-07-24 Thread Gunnar Hjalmarsson
Zentara wrote: Then after the file is successfully created, make sure it is "world-readable".usually mode 755. But most systems are setup with a default filemask set, to create files as mode 644 as default. So after you create your file, do a chmod on it to make sure its 755. $r_file = 'z'; ch

Re: tempfile permissions

2004-07-24 Thread Gunnar Hjalmarsson
Sean Davis wrote: I am writing a file (created using File::Temp) to a directory in my webserver documents directory. I cannot access it from my script afterwards. It is a graphic created by the script that I then want to display in an html page. I don't believe you when you say that you cannot ac

tempfile permissions

2004-07-23 Thread Sean Davis
I am writing a file (created using File::Temp) to a directory in my webserver documents directory. I cannot access it from my script afterwards. It is a graphic created by the script that I then want to display in an html page. Everything works except that I get an error that I don't have ac