It is the delete (unlink) portion that the page cannot execute.  So, I
assume this is a setting in my server conf?  Apache is running as nobody,
but nobody is not a valid user on my linux server.  Is that the problem?  If
so, is the normal prcatice to have a user like 'web' and give all rights to
that user?  Alternatively I could do a copy and truncate to accomplish the
same task, but this seems too laborious.  Thoughts?

PHP KISGB v1.01 Guestbook

"Gaylen Fraley" <[EMAIL PROTECTED]> wrote in message
> I am attempting to use the rename() function and am receiving the
> 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
> correct.
> Thanks.
> --
> Gaylen
> PHP KISGB v1.01 Guestbook

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to