Hi,
Last week I've been trying to get DFC to work.
I think I'm almost there but have one issue.

2015-07-28 17:54:31 => [DEBUG] Executing command { find . -mindepth 1 -maxdepth 1 -exec chmod -R 444 "{}" \; }: 
2015-07-28 17:54:31 => [DEBUG]     => ok
2015-07-28 17:54:31 => [DEBUG] Executing command { tar -cpzf /tmp/.deploy_backup_webroot_55b7c1d7475bb.tar.gz . }: 
2015-07-28 17:54:31 => [DEBUG]     => failed! (CRITICAL) (2)
2015-07-28 17:54:31 => [DEBUG]        Output:
2015-07-28 17:54:31 => [DEBUG] tar: ./profiles/testing: Cannot stat: Permission denied
    tar: ./profiles/standard: Cannot stat: Permission denied
    tar: ./profiles/minimal: Cannot stat: Permission denied
    ...

Must the ssh user, entered in the username field of the server instance, have root permissions?

When I elevate the file permissions in Executing command { find . -mindepth 1 -maxdepth 1 -exec chmod -R 444 "{}" \; }: to 544 it works fine.
The ssh user used is owner of the files in the webroot.

Is there something wrong with my setup?

Regards, Jos

Comments

4p’s picture

Issue summary: View changes
4p’s picture

From the Drupal Flight Control: Quick setup page:

Remote server dependencies: ssh with ssh-key root login

4p’s picture

Status: Active » Closed (works as designed)
reinier-V’s picture

4p, apologies for the delay in response (holidays...), but I'm glad you found the info regarding your issue.