Title: cannot update wordfence, error
Last modified: November 21, 2016

---

# cannot update wordfence, error

 *  Resolved [agl01](https://wordpress.org/support/users/agl01/)
 * (@agl01)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/cannot-update-wordfence-error/)
 * updating wordfence i get the following error:
 * “An error occurred while updating Wordfence Security: The update cannot be installed
   because we will be unable to copy some files. This is usually due to inconsistent
   file permissions. lib/.htaccess.bak, tmp/.htaccess.bak”
 * What’s the fix for this issue?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [wfalaa](https://wordpress.org/support/users/wfalaa/)
 * (@wfalaa)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/cannot-update-wordfence-error/#post-8470710)
 * Hi,
    Please connect to your website via FTP (using FileZilla for example) and
   delete these two files (wp-content/plugins/wordfence/lib/.htaccess.bak) and (
   wp-content/plugins/wordfence/tmp/.htaccess.bak) then re-try updating the plugin
   again.
 * Let me know how it goes,
    Thanks.
 *  Thread Starter [agl01](https://wordpress.org/support/users/agl01/)
 * (@agl01)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/cannot-update-wordfence-error/#post-8477324)
 * Thanks, that fixed it.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘cannot update wordfence, error’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [agl01](https://wordpress.org/support/users/agl01/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/cannot-update-wordfence-error/#post-8477324)
 * Status: resolved