Digivation Hack Central

Wordpress

WordPress Install Direct Filesystem Hack

by on Mar.05, 2010, under Wordpress

I use

chgrp -R www-data wp-content
chmod -R g+w wp-content

To make this work with wordpress, edit wp-admin/includes/file.php in function get_filesystem_method() and comment out

if ( getmyuid() == fileowner($temp_file) )

to

#if ( getmyuid() == fileowner($temp_file) )

If the test file can be written, who cares if it is not owned by the webserver.

You will have to reapply this edit every time wordpress core is updated.

Ref: why-wordpress-asks-connection-info

Comments Off more...