The live directory /home/denny/stacks/desfoto belongs to denny, but the SSH deploy identity cannot traverse /home/denny (0750). Run the directory change and the compose command together under the owning identity via 'sudo -n -u denny bash -c' instead of a bare 'cd' as the SSH user. Applies to the deploy, the stack teardown and both rollback paths.
7.8 KiB
Executable File
7.8 KiB
Executable File