What determines initial file permissions when a WP theme folder is uploaded manually with an FTP client? [closed]

The unfortunate answer is that I don’t think there’s anything you can really do to prevent this. Assuming we’re talking about a Linux based server as the destination for your theme, the umask settings for the ftp user determines the permissions for new files, such as a fresh upload of your theme’s files. It also … Read more

Website Got Hacked – Fixed – Now Cannot Activate Theme

Issue 1: Look at your dashboard; you’re not logged in as an administrator, and as a result you don’t have the privileges and can’t activate themes or plugins. With adminer or phpmyadmin, check your wp_usermeta table for your user and be sure the wp_capabilities key is for an admin: a:1:{s:13:”administrator”;s:1:”1″;} Or, add a new admin … Read more

FTP or Cpanel installation of WordPress

Unless the hosting provider adds in some custom plugins, there should be no difference in the actual installation of WordPress when using a cPanel 1-click option or uploading directly via FTP. Once the site is installed, there is not really any more interaction with cPanel, other than being able to easily delete the database and … Read more

How to use rsync over FTP

You don’t. rsync can’t do that for you, it is a protocol of its own and doesn’t work over FTP. You might, however, want to try csync. IIRC it provides rsync-like behaviour over HTTP. I can’t comment on whether it works over FTP, you’ll have to try it.

How to cause the WordPress web interface to update via FTP

The problem with WordPress not being able to install plugins or update itself is because WordPress uses the Apache ‘user’ for all its processes. In the case of Ubuntu / Linux the Apache user and group is www-data:www-data. By doing sudo chown www-data:www-data /wordpress your changing the ownership of all files. A problem can occur … Read more