Re: weird fopen problem
| From: | Martin Wickman | Date: | Thu, 10 Jan 2002 09:22:20 +0000 |
| Subject: | Re: weird fopen problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80058@lists.php.net to get a copy of this message | ||
Jon Farmer wrote:
I am getting a the follwing error: Warning: fopen("/home/jon/pgpfiles/sgsdgsdg","w") - Permission denied in /home/ethiorg/public_html/test.php on line 2 the directory /home/jon/pgpfiles has mode 777 and is owned by nobody and group is nobody. Apache runs under user nobody.Sure, but if /home/jon/pgpfiles/sgsdgsdg exists, it may have other permission which does not allow nobody to write to it.