Digivation Hack Central

Wordpress

Wordpress Install Direct Filesystem Hack

by mark on Mar.05, 2010, under Wordpress

I use

chgrp -R www-data wp-content
chown -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

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Archives

All entries, chronologically...