Hey Atsites,
You will need to adjust the permission on the folder. Here is a good overview for how to do that:
https://codex.wordpress.org/Changing_File_Permissions
Hope that helps!
Could you please explain why this module needs write permissions on the root directory?
I consider this insecure. I love the module, but won’t give php write permissions on my root folder. Shouldn’t it be enough to have write access in the subdir “wp-snapshots”?
Hey Mrdamasajaga,
It should only be writable by the owner/user (755) of the PHP process. The wp-snapshots is not part of the archival process as its filtered at build time. When the package is created it needs to write the database.sql file to the root of your site for later use in the archive. Also on the installer in order for PHP to unzip the archive.zip and update your wp-config.php it has to have write permissions.
This is also true of even core WP code which writes to files such as the .htaccess which is in your root when saving permalink settings and a general recommendation by WP:
http://codex.wordpress.org/Hardening_WordPress
The root WordPress directory: all files should be writable only by your user account, except .htaccess if you want WordPress to automatically generate rewrite rules for you.
If your going above and beyond the WP settings then the only way to get around the issue would be to allot for a new path (i.e. wp-content) for the database.sql This currently is not supported, but may be a possibility. You are the first person to ask for a different route…
Please see this snap… http://prntscr.com/cu0spy
i am getting this error even i tried to change the permission to 755
hello,
i’ve got the same problem.
do you resolved?
thanks!
@marcobaleno yes its resolved because some hosting does not allowed duplicator or many plugins on root dir like example.com
so you have to create a new folder like example.com/folder_name
then upload installer.php to that new folder then upload zip file into main dir example.com
then run example.com/folder_name/installer.php
it should work… i hope this will work if i still remember…
Thanks