• Resolved drrxa

    (@drrxa)


    Hi,

    I have duplicated a site to a subdomain which directory is a subdirectory of the original website. The process went fine and I gave the root directory of the subdomain a 777 permission before begin then change back to 755 after completion.

    After duplication I could not make any edit or change (create directories, edit files, add files, delete files, change permissions) to any file or directory in the new site directory. I am using Filezilla and whenever I try to make a change I get ‘Permission denied’ message.

    I still can access and edit the original site files normally.

    Any idea why this happen? Thanks.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Its possible that the process that PHP runs under (which is what Duplicator runs under) is different than the FTP account you login as. You might need to contact your host and find out how you can get access to the same permissions that the files where created with (see the owner/group section in the ftp program)…

    Hope that helps!

    Hi Drrxa,

    Any progress on this issue?

    Thread Starter drrxa

    (@drrxa)

    Hello lifeinthegrid,

    Thanks for your help and sorry for delay in response. As you suggested, the ownership of duplicated files switched from the FTP account I am using to the (PHP/Wordpress). I contacted the hosting and they set the file owner back to the FTP account I am using.

    Now I can make edits and adjustments, but WordPress cant. Meaning that WordPress cannot create directories when I upload images and even I cant upload images when I manually create the directories through the backend Media manager. the file permissions of wp-content/uploads is set to 755.

    When I set the permissions of the uploads directory to 777, everything works normally, but that would be e security issue right?

    Thanks again for support.

    Yeah definitely don’t leave them at 777.

    Contact your hosting provider again and ask them how the group/owner and file permissions need to ultimately be set up for you to use WordPress correctly.

    Every hosting environment has their own set of conditions and configuration options in order to make WordPress work correctly on their servers. Make them work with you to get it set up and working correctly. That is one of the reasons why you’re paying them… 🙂

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cant edit files after duplication’ is closed to new replies.