Strange folder permissions from PHP scripts.
PHP Version - 5.2.4-2ubuntu5.5
MySQL Version - 5.0.51a-3ubuntu5.4
Server API Version - apache2handler
OS Version - Ubuntu 8.10
ISPConfig 2.2.x
So several sites that I have use PHP scripts to create folders in an uploads gallery. However, once these folders are created they aren't writable by the site.
The scripts are set to chmod the folders to 777 but these created folders have the following permissions:
owner:
www-data
permission:
755
The owner should be obviously webX where X is the number of the site.
|