Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest version failing to create temp build dir #80

Open
purplespider opened this issue Nov 17, 2020 · 1 comment
Open

Latest version failing to create temp build dir #80

purplespider opened this issue Nov 17, 2020 · 1 comment

Comments

@purplespider
Copy link

After reinstalling sspak on my iMac, it would fail with an error about being unable to create the temp folder:

$ sspak save --db user@host db.sspak

Command: ssh -t 'user@host' 'mkdir '\''/var/folders/_m/9n7ryp613nz33y5bs9mqs9vc0000gn/T/sspak-680110'\'''
Execution failed: returned 1.
Output:
mkdir: cannot create directory ‘/var/folders/_m/9n7ryp613nz33y5bs9mqs9vc0000gn/T/sspak-680110’: No such file or directory

After trying many things to resolve it (such as testing that PHP could actually create a dir in the above location - it could), I copied the version of sspak from my laptop (into /usr/local/bin) and it works fine. So it seems the issue has been introduced into the current release at some point.

Maybe this PR is related: #75
However I did try installing the latest version and adding TMPDIR="/tmp" to the command to see if it was the change in default temp directory that was causing it, but I still received the error.

@lerni
Copy link

lerni commented Nov 17, 2020

I've ended up setting sys_temp_dir = "/tmp" in php.ini for PHP-CLI-Setup to smoothly run sspak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants