gangplank: let tar create the file
I was getting a permission denied when the file already existed.
Let's delete the temporary file and let tar create it instead.
@@ -186,6 +186,7 @@ func uploadPathAsTarBall(ctx context.Context, bucket, object, path, workDir stri
return err
}
tmpf.Close()
+ _ = os.Remove(tmpf.Name()) // we just want the file name
tmpfgz := fmt.Sprintf("%s.gz", tmpf.Name())
defer func() {
