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

creates a tmp file without ensuring the tmp directory exists #10

Open
hiredman opened this issue Jul 16, 2015 · 0 comments
Open

creates a tmp file without ensuring the tmp directory exists #10

hiredman opened this issue Jul 16, 2015 · 0 comments

Comments

@hiredman
Copy link

if you were to, in your project.clj set the java tmp directory to point to a directory that doesn't exist, alembic throws a filenotfound exception. because alembic is used deep in the depths of various bits of tooling figuring out this error can take some doing. it is very easy to end up in this situation, if say you have a large test suite that does a lot of temp file munging, and to facilitate easy clean up you set the tmp dir to something like /tmp/foo and your os helpfully deletes the contents of /tmp on reboot.

it is crazy to me that File doesn't ensure the tmp exists, but I have no idea how to go about getting that fixed.

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

No branches or pull requests

1 participant