Forums

What are Correct File Permissions? (5 posts)

  1. muttrox
    Member
    Posted 2 years ago #

    When I upgrade to the latest version of WordPress (2.9) I get errors on certain file permissions. I can change the permissions, but I don't know what to change them to. What are the correct permissions for these files?

    Warning: copy(/home/muttrox/public_html/wp-content/themes/default/image.php) [function.copy]: failed to open stream: Permission denied in /home/muttrox/public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 122

    Warning: copy(/home/muttrox/public_html/wp-content/themes/default/image.php) [function.copy]: failed to open stream: Permission denied in /home/muttrox/public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 122

    Could not copy file: /home/muttrox/public_html/wp-content/themes/default/image.php

  2. muttrox
    Member
    Posted 2 years ago #

    Anyone know?

  3. Shane G.
    Member
    Posted 2 years ago #

    Hi,

    It seems that your issue is related to theme. Just change your theme to default and have a check.

    Also assign 755 permissions to all files and folders of your blog. Disable all the plugins too\ which may resolve this issue.

    Thanks,

    Shane G.

  4. Mark / t31os
    Moderator
    Posted 2 years ago #

    Files 644, folders 755 ..

    You should not be giving your WordPress files 755 permissions.. folders yes, files no..

    Theme files maybe, core files certainly not..

  5. muttrox
    Member
    Posted 2 years ago #

    Shange G. and t31os_,

    Much thanks to both of you! Worked perfectly!

Topic Closed

This topic has been closed to new replies.

About this Topic