Aran Wilkinson
Aran Wilkinson
@rgrandl yeah running that command it worked fine
I added some output to the command to see what the tool was doing and this seems to be the error ``` mkdir: cannot create directory ‘/var/folders’: Permission denied ```...
This is the command it is running I'm guessing this is a folder on my local machine ``` /usr/bin/ssh -v ### mkdir -p /var/folders/sq/3sdsh9n14p790p7xwhdlvdzc0000gn/T/915574ab-82d5-47f1-8efa-47f5062f03cf ```
Ahh so I understand what is happening now https://github.com/ServiceWeaver/weaver/blob/35727ae307c392d27cadfbf5302d56a3e76977ab/internal/tool/ssh/deploy.go#L143 On this line you call `os.TempDir()` but because I am running this from my laptop (macOS) that call to `os.TempDir()` returns...
@rgrandl I'll write up a new issue and little summary of the problem later today. I did some digging into the issue last night but was late for me (GMT...
Yeah that's kind of what I was thinking by the configuration option. Users of the ssh deployer could then state what temp directory to use overriding the default `/tmp` Edit:...
When I was looking into this I couldn't find a reliable source for retrieving the temporary directory. On my current Ubuntu 22.04.2 LTS installation `$TMPDIR` is not set. I've not...
I'll get to work implementing this and removing the config stuff instead 👍🏻
@rgrandl after investigating the `mktemp` as a possible solution am not sure it'll be ideal as each iteration over `locs` calling `mktemp` on each server will create a new unique...
Hey @rgrandl sorry for the slow reply. I've been busy last week or so now with other stuff Just getting back into this and looking into If I understand your...