• Resolved faglork

    (@faglork)


    Hi!

    I used Duplicator for the first time, and all seemed to work well … but:

    – all files/directories permissions changed to 644, ignoring the existing permissions
    – all files/directories chowned from www1234/users to apache/admin
    –> the clone did not work at all …

    Since I have root access this was not a real problem, but it is very cumbersome to manually chmod/chown all files and directories.

    I suppose I missed a step in the process? Or is this the default behavior?

    Cheers,
    Alex

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey @faglork

    Thanks for the feedback! The only time the installer will update permissions is if on step 1 of installer under options the permission checkboxes are checked. Otherwise, the perms can get inherited from the settings of your server. As far as changing the group/owner the plugin does not attempt to make those changes those will be inherited from your server settings.

    Hope that helps~

    Thread Starter faglork

    (@faglork)

    I performed this a second time, this time I unchecked the permission checkboxes.

    Well, same result. all files/dirs are chowned/chmoded to apache/admin. Website seems to basically work, although only with a lot of additional work.

    A number of issues:

    a) The original site was installed in a subdirectory. You should explicitely mention that Duplicator does not replicate the subdirectory: you have to create it manually and put the installer files in this subdirectory.

    b) consequently, Duplicator does not include the .htaccess/index.php in the root directory, which are required if you run WP in a subdirectory and won’t show the subdir in the URL. You have to create them manually.

    c) regarding b): the original setting was:

    WP ADRESS (URL): http://www.abc.de/subdir
    WP SITE (URL): http://www.abc.de

    Duplicator changed this to

    WP ADRESS (URL): http://www.abc.de/subdir
    WP SITE (URL): http://www.abc.de/subdir

    … which adds to the confusion about what has been changed where and how.

    d) In wp-config.php, Duplicator DOES NOT replace/disable any FTP settings! Now this is a big issue, since for WP autoupdate, it gives the wrong credentials and the wrong site so it will update the original site!
    You should explicitely mention this in the docs.

    e) You can’t even manually change the Theme’s STYLE.CSS or FUNCTIONS.PHP per FTP since it is owned by apache. So I again have to log in as ROOT and change the ownership. :-((

    Overall, I have mixed feelings since I have no idea if this installation works as intended.
    Given the time I need to manually create/correct files and directories, Duplicator may work to duplicate larger installations, but if you just want to replicate a basic installation you are faster with a manual install. And you can be sure everything is installed/works as intended.

    Cheers,
    Alex

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Duplicator does not duplicate permissions’ is closed to new replies.