WordPress.org

Ready to get started?Download WordPress

Forums

Duplicator
[resolved] Permissions error for root (8 posts)

  1. liquidalloy
    Member
    Posted 4 months ago #

    Hi I'm getting a permissions error during the initial setup.
    I passed wp-snapshots and wp-snapshots/tmp but the root of the directory www fails.

    www is owned by me and user group is apache. The folder permission is 755 while the files are 644. Is there anything I'm missing?

    https://wordpress.org/plugins/duplicator/

  2. Cory Lamle
    Member
    Plugin Author

    Posted 4 months ago #

    Hey liquidalloy,

    Checkout this section on the FAQs I believe it may help with this issue:
    -> Browse to: http://lifeinthegrid.com/duplicator-faq
    -> Find section: "3. Troubleshoot=> Permission & System Issues"

    Be sure the group owner is set correctly for your host as well...

    Hope that helps!

  3. liquidalloy
    Member
    Posted 4 months ago #

    Thank you for your reply! If I set the permission to 777 on the root it will work. But I'm wondering why it does not work otherwise. Does the plugin use the apache group to run the script? Or the plugin run in the others permission instead of the user or group. Since the directory fails at 755 it means the plugin needs write permission on the group or others? Or does it run as a different group and that group isn't part of apache?

    I would just like to understand why it's failing on just the root.

  4. Cory Lamle
    Member
    Plugin Author

    Posted 4 months ago #

    Hey liquidalloy,

    The group is independent of the plugin. Its actually tied to the PHP process that php files are allowed to run on under the apache thread. Because every host/server is configured with different settings, its probably best to ping your host or server admin to see how things are configured between PHP and the group its processes run under.

    Cheers~

  5. liquidalloy
    Member
    Posted 4 months ago #

    Okay so in simple terms what you are saying is to make sure PHP belongs in the group that is the current group of the root www folder? In my case since apache is the group of www directory I should check if PHP belongs to the apache group?

    I'm just trying to understand what to ask my system admin.

  6. Cory Lamle
    Member
    Plugin Author

    Posted 4 months ago #

    Possibly... It would depend on how PHP was setup. It can be setup as fcgi, an Apache module and several other configs which then changes how the process owner works. I know its overly complicated :)

    I would just ask them why the PHP script returns false when it tries to use the PHP function is_readable on the given path.

    Cheers~

  7. liquidalloy
    Member
    Posted 4 months ago #

    Okay thank you for you replies!

  8. Cory Lamle
    Member
    Plugin Author

    Posted 4 months ago #

    No Problem, hope you get things going!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags