• Resolved liquidalloy

    (@liquidalloy)


    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/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Cory Lamle

    (@corylamleorg)

    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!

    Thread Starter liquidalloy

    (@liquidalloy)

    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.

    Cory Lamle

    (@corylamleorg)

    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~

    Thread Starter liquidalloy

    (@liquidalloy)

    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.

    Cory Lamle

    (@corylamleorg)

    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~

    Thread Starter liquidalloy

    (@liquidalloy)

    Okay thank you for you replies!

    Cory Lamle

    (@corylamleorg)

    No Problem, hope you get things going!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Permissions error for root’ is closed to new replies.