Title: Automatic upgrade to 2.7.1 problem
Last modified: August 19, 2016

---

# Automatic upgrade to 2.7.1 problem

 *  [tomazl](https://wordpress.org/support/users/tomazl/)
 * (@tomazl)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/)
 * Hi!
 * Auto upgrade from 2.7 to 2.7.1 FAILS with messages:
 * Warning: copy(/home/mobi04/public_html/wp-includes/class-smtp.php) [function.
   copy]: failed to open stream: Permission denied in /home/mobi04/public_html/wp-
   admin/includes/class-wp-filesystem-direct.php on line 122
 * Warning: copy(/home/mobi04/public_html/wp-includes/class-smtp.php) [function.
   copy]: failed to open stream: Permission denied in /home/mobi04/public_html/wp-
   admin/includes/class-wp-filesystem-direct.php on line 122
 * Can not copy file: /home/mobi04/public_html/wp-includes/class-smtp.php
 * What can I do to solve this?
 * Tomaz

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/page/2/?output_format=md)

 *  [chockymonster](https://wordpress.org/support/users/chockymonster/)
 * (@chockymonster)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/#post-984850)
 * Same error different file.
    File perms are 0644 on index.php
 * Warning: copy(/home/pgphoto/public_html/blog/index.php) [function.copy]: failed
   to open stream: Permission denied in /home/pgphoto/public_html/blog/wp-admin/
   includes/class-wp-filesystem-direct.php on line 122
 * Warning: copy(/home/pgphoto/public_html/blog/index.php) [function.copy]: failed
   to open stream: Permission denied in /home/pgphoto/public_html/blog/wp-admin/
   includes/class-wp-filesystem-direct.php on line 122
 * Could not copy file: /home/pgphoto/public_html/blog/index.php
 * Installation Failed
 *  [gelle](https://wordpress.org/support/users/gelle/)
 * (@gelle)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/#post-984859)
 * Same here (but different file)
 * Warning: copy(/hotel/blog/wp-trackback.php) [function.copy]: failed to open stream:
   Permission denied in /hotel/blog/wp-admin/includes/class-wp-filesystem-direct.
   php on line 122
 * Warning: copy(/hotel/blog/wp-trackback.php) [function.copy]: failed to open stream:
   Permission denied in /hotel/blog/wp-admin/includes/class-wp-filesystem-direct.
   php on line 122
 * Could not copy file: /hotel/blog/wp-trackback.php
 * Installation Failed
 *  [nchroman](https://wordpress.org/support/users/nchroman/)
 * (@nchroman)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/#post-984861)
 * Same problem here 🙁
 * Suggestion to help non-php experts: Shouldn’t it has an optional “Connection 
   Information” panel for that matter –similar to the plug-ins’ one– in order to
   add the permission credits manually? The plug-in WPAU use to have this option.
   Probably now the upgrade process is different.
 * Question: What is the configuration –exactly– that the server needs to run this
   upgrade tool? Here [http://codex.wordpress.org/Core_Update_Host_Compatibility](http://codex.wordpress.org/Core_Update_Host_Compatibility)
   it doesn’t shows that information, is just a list.
 *  [gelle](https://wordpress.org/support/users/gelle/)
 * (@gelle)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/#post-984896)
 * I changed my file attributes through FTP and that helped. I had to chmod files
   to 664.
 *  [worldview](https://wordpress.org/support/users/worldview/)
 * (@worldview)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/#post-985020)
 * I am not getting any message after it says unzipping file
 * nada.
 * Guess I’m the lucky one.
 *  [carlossos13](https://wordpress.org/support/users/carlossos13/)
 * (@carlossos13)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/#post-985053)
 * – I deactivated the automatic update plugin
    – I removed the folder wp-automatic-
   update (or similar) from my wp-contents/plugins folder on my server – in WP admin
   I clicked on automatic upgrade
 * now it says
    _Downloading update from [http://wordpress.org/wordpress-2.7.1.zip](http://wordpress.org/wordpress-2.7.1.zip)
   Unpacking the core update
 * No update is performed.
    Any ideas anybody
 *  [Dr C](https://wordpress.org/support/users/dr-c/)
 * (@dr-c)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/#post-985064)
 * Exactly the same here.
 *  [edelen](https://wordpress.org/support/users/edelen/)
 * (@edelen)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/#post-985067)
 * Folks,
 * It may be an owner / group ownership issue. You don’t have access to actually
   delete the files necessary because the server thinks they don’t belong to you.
   Not the same as CHMOD. Your server admin may need to fix this.
 *  [maniakmatt](https://wordpress.org/support/users/maniakmatt/)
 * (@maniakmatt)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/#post-985087)
 * I had to chmod all files and directories to 755….is that bad?
 *  [Godaisies](https://wordpress.org/support/users/godaisies/)
 * (@godaisies)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/#post-985088)
 * Same problem here.
 *  [milkymilk](https://wordpress.org/support/users/milkymilk/)
 * (@milkymilk)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/#post-985153)
 * I am trying to upgrade to the latest version of WP and am getting the same FAIL
   message. I have tried to change the permission to class-wp-filesystem-direct.
   php, but despite this, it reverts to the old permission. I have now spent 40 
   minutes trying to get this working and trying to find some help on here, but 
   without luck. Help please…
 *  [gswd](https://wordpress.org/support/users/gswd/)
 * (@gswd)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/#post-985161)
 * How long does it take to get a “Success” message, or an error message? I only
   get to the “Downloading update from [http://wordpress.org/wordpress-2.7.1.zip&#8221](http://wordpress.org/wordpress-2.7.1.zip&#8221);
   line and then nothing happens. No progress meters, status updates, nothing. I
   never used the auto update plugin that was available previously, so that is not
   my issue.
 *  [gswd](https://wordpress.org/support/users/gswd/)
 * (@gswd)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/#post-985162)
 * Turns out it was a simple matter of switching my server to php5, even though 
   I thought I was already using php5. Oh well, live and learn I suppose. And maybe
   take a lesson from President Reagan, “trust but verify”.
 *  [JustJo](https://wordpress.org/support/users/justjo/)
 * (@justjo)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/#post-985179)
 * I had the same problem and decided to temporarily allow Write permissions to 
   the whole WP root folder and the upgrade went smooth and quick. You can turn 
   the permission back on to Read only after the upgrade is done.
 * In both cases make sure you only change permissions in the root folder and not
   the inherits, as that would affect any special permissions you have given to 
   other folders or files that you don’t want to reset to default.
 *  [davert](https://wordpress.org/support/users/davert/)
 * (@davert)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/#post-985220)
 * It’s funny, I’ve had the same problem – just shows “Downloading update from [http://wordpress.org/wordpress-2.8.2.zip&#8221](http://wordpress.org/wordpress-2.8.2.zip&#8221);—
   but nothing happens after that. Permissions are all correct and checked against
   a second installation on the same server.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/page/2/?output_format=md)

The topic ‘Automatic upgrade to 2.7.1 problem’ is closed to new replies.

## Tags

 * [automatic upgrade](https://wordpress.org/support/topic-tag/automatic-upgrade/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 16 replies
 * 15 participants
 * Last reply from: [alexgolovko](https://wordpress.org/support/users/alexgolovko/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/automatic-upgrade-to-271-problem/page/2/#post-985264)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
