You are here: Re: rename(old file, new file) function Permission Denied « All PHP « IT news, forums, messages
Re: rename(old file, new file) function Permission Denied

Posted by Etienne Marais on 11/18/05 14:07

> If the code that's doing the rename is running as an Apache module
> mod_php, then the process that's doing the rename is likely the Apache
> process. It's probably running as nobody or www or apache. It may not
> have write permissions to write into the directory where the newfile is
> being placed.

Could you not perhaps ask the service provider to add you (your account id)
to the same group as to which nobody/www/apache belongs to (apache in
specific usually belong to group apache) then chmod g+w the
files/directories which need to be overwriteable/renamed/createble.

Etienne Marais

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация