upload and file owner
-
upload worked fine on a fedora core with php 4.?
upload directory was set to 775, creating year/month directories. files uploaded by apache had owner=blog-owner and group of apache.Now I upgraded to centOS with php 5.x and can’t upload files any more – can’t move file to …
I investigated a bit, playing with safe-mode also, and that initially appeared to work – but mysteriously only once ???
Now the last thing I found and there I got stuck: WP created the intermediate directories, in my case a 03 (for march) with owner and group of apache. When I change the owner to the web owner (in my case user merlinsilk) then the upload succeeds. The files created in that directory are again apache:apache.
Setting all directories from upload and higher to 777 makes no difference.
Any ideas on how to solve that problem?
- The topic ‘upload and file owner’ is closed to new replies.