Reply to Re: PHP issues with file ownership

Your name:

Reply:


Posted by Willem Bogaerts on 05/16/07 08:26

>> However, because the new file was created by a script, it does not
>> have the same owner as the and the function fails. An exact copy of
>> the file uploaded from my FTP software works fine as it has the same
>> owner as my script.
>>
>> The error I receive is that there is a safe mode restriction and the
>> uid/gid does not match.

But you can administer the server? There are some special permissions
you can set on a directory. One of them is that you execute the file or
directory as the user or group that created it. For directories, this
means that you create files as the directory owner or as member or the
directory's group. See the chmod man page.

Best regards,
--
Willem Bogaerts

Application smith
Kratz B.V.
http://www.kratz.nl/

[Back to original 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

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