WordPress.org

Ready to get started?Download WordPress

Forums

BulletProof Security
[resolved] failed backup (4 posts)

  1. scobb77
    Member
    Posted 1 year ago #

    when I tried to backup the htaccess files, i got the following error -

    Warning: copy(/virtual/users/e14991-15531/web/wp-content/bps-backup/master-backups/backup_default.htaccess) [function.copy]: failed to open stream: Permission denied in /virtual/users/e14991-15531/web/wp-content/plugins/bulletproof-security/admin/options.php on line 325

    Warning: copy(/virtual/users/e14991-15531/web/wp-content/bps-backup/master-backups/backup_default.htaccess) [function.copy]: failed to open stream: Permission denied in /virtual/users/e14991-15531/web/wp-content/plugins/bulletproof-security/admin/options.php on line 326
    Failed to Backup Your default.htaccess File!

    How do I fix this?
    Thanks
    Steve

    http://wordpress.org/extend/plugins/bulletproof-security/

  2. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    The copy function is being denied. Most likely your SAPI is DSO. Go to the System Info page and check what your Server API is. You will most likely see DSO. If you see CGI as your SAPI and the copy function is failing then the folder permissions are set too restrictive for either the /wp-content folder or the /bps-backup folder. Check these things and then post your SAPI.

  3. scobb77
    Member
    Posted 1 year ago #

    Thanks for the help. SAPI is DSO and the permissions are set to 755.

  4. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    Yep. Ok in the next version release of BPS i have scheduled adding additional coding for folks using DSO that will allow all the automation in BPS to work without having to do these manual steps below. In other words, whether or not your Server is configured for CGI or DSO the automation will work seamlessly.

    For now you will have to do these steps below manually or you can just manually use FTP to download files and then upload them back to your website. ie download the secure.htaccess file and then upload it to your website root folder and rename it to just .htaccess. The same would apply for the wp-admin .htaccess file.

    Steps for folks who have a DSO Server Configuration and that would like to use the Automation in BPS (version .47.2 will do this automatically) instead of using FTP to manually download and upload the .htaccess files.

    Create secure.htaccess – Change permissions of secure.htaccess file to 777.

    Activate security mode root folder – Change permissions of htaccess file to 666

    Activate security mode admin folder – Change permissions of htaccess file to 777

    Activate Deny All htaccess Folder Protection For The BPS Master htaccess Folder – Change permissions of

    Your_root_folder_location/wp-content/plugins/bulletproof-security/admin/htaccess folder to 777

    Activate Deny All htaccess Folder Protection For The BPS Backup Folder – change permissions of htaccess file to 777 located at

    Your_root_folder_location/wp-content/bps-backup

    Backup Your Currently Active .htaccess Files – change bps-backup folder permissions to 777 at

    Your_root_folder_location/wp-content/bps-backup

    Backup Your BPS Master .htaccess Files – change master-backups folder permissions to 777 at

    Your_root_folder_location/wp-content/bps-backup/master-backups

    Once completed with installation check security status on the Security Status page and reset all permissions back to 755 for folders and 644 for files.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.