|
Posted by Alfred Molon on 07/03/05 00:59
One of the sites I manage is a photo sharing site, where people upload
photos and get feedback. The software is written in PHP.
What has happened now, is that all folders which have created over the
past 7 days have the permissions set to 755, and owner set to A (I'll
call it A) and the group set to nobody.
By the way, when I connect through FTP I have the identifier B and all
other files/folders have the identifier B.
But the PHP processor has the owner set to B and the group set to C, so
that the PHP scripts cannot copy files to the newly created directories,
because the write rights are available only for the owner - and the
owner is not B or C.
I cannot even change the rights of the newly created directories via
FTP, because I connect as a different owner.
How is all this possible ? Is there an error in the web server settings
of the host ?
--
Alfred Molon
http://www.molon.de/Galleries.htm - Photos from China, Myanmar, Brunei,
Malaysia, Thailand, Laos, Cambodia, Nepal, Egypt, Germany, Austria,
Prague, Budapest, Singapore and Portugal
[Back to original message]
|