• Hi!
    I have had trouble updating my WordPress installation (the automatic update could not write to/update some file directories?)
    Anyway, yesterday I did a manual update of the WordPress itself. I gave 755 access to all directories and 644 access to all files.

    However, updating plugins and themes through the update page still fails (Error message: The updates cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions. images, languages, 404.php, archive.php, attachment.php, author.php, category.php, comments.php, editor-style-rtl.css, etc.)

    Another, more critical problem also showed up after the WordPress update:
    When I use “Upload media” it will only upload the selected file when I makes the “target directory” writable by “others” (or, in other words, a 777 permission for the upload directory). As far as I remember it was not like this before I did the manual update of WordPress.
    How can I make this work with the 755 permission again?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Check with your hosting provider, some server configurations require different file permissions (such as 777 for directories).

    Thread Starter terjemid

    (@terjemid)

    Well, it seems like it did work with a 755 permission before I did the manual update..

    My 2 cents:

    If you use a quite advanced server, in general it will refuse automatic updates for security issues.

    I think you’ll need to setup a specific linux user, that is allowed to write wordpress files. Specific user with “sudo” / “root” rights but only during updates.

    That’s what I do on my VPSes, running Ubuntu LTS for instance.

    Have a nice day,

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

The topic ‘Permissions’ is closed to new replies.