• Resolved kennethzuniga

    (@kennethzuniga)


    Hi Everyone,

    I hope someone here can help me because I really desperate. I’ve used Duplicator many times and it never gave me a single problem but now…

    1) DUPLICATING
    When try to duplicate a website Duplicator keeps requesting permissions to the root folder or asks me to create the required paths manually. After I created the necessary paths manually, Duplicator keeps saying they are not there, to solve this issue I had to change these paths and root directory permissions to 777 (which I find a little risky). This was the only way I was able to duplicate the website.

    2) INSTALLING
    Same thing happens when I try to install the copy on a new location, Duplicator asks me for permissions to the ROOT directory saying PHP cannot write. I changed the permissions temporarily and Duplicator was able to install the copy. Everything looked fine until… SURPRISE! I can’t delete, change or upload WP files through FTP or SSH even as when I’m use the Administrator or Root accounts.

    I even tried CHOWN via SHH to change WP directories owners but my CentOS server says I (administrator account or root) don’t have permission. When I asked the server who owns all the directories created by Duplicator on the new location the answer is “nobody”, yes you heard right, apparently that’s name and I can’t change the owner.

    I’ve been through all the FAQS, forums and googling for a solutions but nothing seems to work. Please I will truly appreciate if someone can help.

    Thank you in advance,

    Ken

Viewing 1 replies (of 1 total)
  • Cory Lamle

    (@corylamleorg)

    Hey @kennethzuniga,

    Thanks for the feedback! I would get with your host and ask them exactly how to configure the permissions and setup the groups for their server environments. Since their are lots of different ways to manage permissions and groups your host will know the best solution for their environments. On some hosts the group ‘nobody’ is very common and a default for some environment.

    From the plugins perspective all it does is issue a simple is_writable command to see if PHP can even write to the directory. Beyond that there isn’t anything the plugin can do if the underlying PHP process is not configured correctly or in the right group to be able to let PHP (in this case the plugin) write files to the disk. Which the plugin does as part of its logic.

    There are also several things like sushion and SELinux that can mess with how PHP is allowed to work on your server and only your host or server admin is going to know these types of details and how they inter-act with PHP. The FAQ item below covers some of these scenarios.

    ? ? – I get an error/warning about permissions what should I do?
    ? ? – https://snapcreek.com/duplicator/docs/faqs-tech/#faq-trouble-055-q

    Let me know if any of them help~

    • This reply was modified 8 years ago by Cory Lamle. Reason: spelling
Viewing 1 replies (of 1 total)
  • The topic ‘Duplicator Permissions’ is closed to new replies.