Closed lenerd closed 6 years ago
Please supply the following details:
pip freeze
)fabric==2.3.1
Fabric3==1.14.post1
It looks like the with cd('~/dir')
context just prepends cd ~/cryptobiu-ABY >/dev/null &&
to the command. When using sudo
, ~
is /root
instead of the home directory of the user invoking sudo
.
In the
fabfile.py
, https://github.com/cryptobiu/MATRIX/blob/174fc07539be07b3bcffd8afc988d6dbb17ae742/Execution/fabfile.py#L72-L78 when the working directory is set to something like~/somedir
, then~
is expanded to/root
instead of the current users home directory when running commands withsudo
. This leads to the following errors (herecryptobiu-ABY
is the working directory).