WordPress.org

Ready to get started?Download WordPress

Forums

BackWPup Free - WordPress Backup Plugin
/wp-content/plugins/backwpup/tmp/' is not writeable! (3 posts)

  1. befree22
    Member
    Posted 1 year ago #

    I'm migrating my website to a new webhost. This plugin is giving me error with file permissions and I want to prevent /tmp/ from being 777.

    The error I get is:

    I'm migrating my websites to my vps host from my old webhost. I have a WordPress plugin, Backwpup, which gives the following error in WP admin:

    BackWPup:
    chmod 777 /home/forward/domains/mywebsite.com/public_html/wp-content/plugins/backwpup/tmp/ is not writeable!

    I read http://codex.wordpress.org/Changing_File_Permissions but I have no idea how to protect permissions in wp-config.php since you can't leave it at 777.

    Is this the correct command I add to wp-config.php or do I use another command?

    http://wordpress.org/extend/plugins/backwpup/

  2. Jon Jennings
    Member
    Posted 1 year ago #

    Agreed - 777 isn't a great set of permissions to leave around.

    I'd like to suggest to the authors that they put a random number in the tmp directory name. Same as the logs file has a random number in it to make it less likely that a script hacker would find it, if the tmp directory was called (say) tmp-348712 then having it as 777 wouldn't worry me as much.

    But in answer to your question, you don't want to be changing wp-config for this, you want to be changing the tmp directory permissions and leaving it that way.

    Not ideal, but (other than writing a script that changed the directory permissions to 777 just before a backup job and then changed them back again after, or maybe doing something with group membership), I'm not sure what else we can do right now.

  3. Daniel Hüsken
    Member
    Plugin Author

    Posted 1 year ago #

    The Temp dir is not longer in the Plugin dir with version 3 that cames in the next days.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic