We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8de93ac + 76cb7e4 commit 5ce742cCopy full SHA for 5ce742c
1 file changed
libexec/copy-to-target
@@ -49,6 +49,7 @@ fi
49
if [ -n "$USE_DOCKER" ]; then
50
docker exec -u $TUSER gitian-target mkdir -p "/home/$TUSER/$2"
51
docker cp "$1" gitian-target:"/home/$TUSER/$2"
52
+ docker exec -u root gitian-target chown -R $TUSER:$TUSER "/home/$TUSER/$2"
53
elif [ -z "$USE_LXC" ]; then
54
src="${1%/}" # remove trailing / which triggers special rsync behaviour
55
rsync --checksum -a $QUIET_FLAG -e "ssh -oConnectTimeout=30 -oNoHostAuthenticationForLocalhost=yes -i ${GITIAN_BASE:-.}/var/id_rsa -p $VM_SSH_PORT" "${src}" "$TUSER@localhost:$2"
0 commit comments