[CentOS] Problem installing WordPress on CentOS

John Hinton webmaster at ew3d.com
Fri Jul 23 21:04:32 UTC 2010


On 7/23/2010 12:40 PM, John R Pierce wrote:
>    On 07/23/10 5:47 AM, Niki Kovacs wrote:
>    
>> 3) # chown -R apache:apache /var/www/html/wordpress
>>      
> I have always been told that apache shouldn't own or have write access
> to files or directories unless it absolutely has to, as this is a
> unnecessary security exposure
>
>    
Correct. However if you wish to implement the client upload feature, 
there is an uploads directory under wp-content which will need write 
ability. The WordPress created subdirectories within this directory will 
also be set to these permissions. But that is only place where write 
should be considered. This is where items like uploaded photos exist.

John Hinton



More information about the CentOS mailing list