Probem with Rename() and linux
| From: | Gaylen Fraley | Date: | Sun, 16 Sep 2001 19:43:02 +0000 |
| Subject: | Probem with Rename() and linux | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-67521@lists.php.net to get a copy of this message | ||
I am attempting to use the rename() function and am receiving the following
error:
Warning: Rename failed (Permission denied) in
/usr/local/apache/htdocs/mydir/myfile.php on line 7
The files all have a mod of 777 . My application can update the same file
w/o any problem, it's only when attempting to use rename. Is there
something else I need to do? It's as if delete is not allowed by httpd,
although as root I can. This does work in windows, so I know the syntax is
correct.
Thanks.
--
Gaylen
gfraley5@earthlink.net
http://www.gaylenandmargie.com
PHP KISGB v1.01 Guestbook http://www.gaylenandmargie.com/publicscripts