Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
4p CreditAttribution: 4p commentedComment #2
4p CreditAttribution: 4p commentedFrom the Drupal Flight Control: Quick setup page:
Remote server dependencies: ssh with ssh-key root login
Comment #3
4p CreditAttribution: 4p commentedComment #4
reinier-V CreditAttribution: reinier-V as a volunteer commented4p, apologies for the delay in response (holidays...), but I'm glad you found the info regarding your issue.