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

Use mac os tmp folders for updates. #39

Open
antoniovazquezblanco opened this issue Aug 14, 2012 · 4 comments
Open

Use mac os tmp folders for updates. #39

antoniovazquezblanco opened this issue Aug 14, 2012 · 4 comments

Comments

@antoniovazquezblanco
Copy link
Contributor

I think mac os temporary folder should be used for updating instead of the one in the Library folder.

I don't know if any of this folders should be erased by ourselves or if they are automatically cleaned.

@Timo6
Copy link
Member

Timo6 commented Aug 14, 2012

I'm not sure what the convention is for subdirectories in /tmp, so this just uses /tmp/VDrift. Files are apparently deleted on shutdown or every 3 days after last access otherwise.

@Timo6
Copy link
Member

Timo6 commented Aug 15, 2012

This causes issues if two users use VDrift before /tmp is clean - the folder is only writeable by one user. A solution would be to have a unique name for each run of VDrift. I'll look into it soon.

@antoniovazquezblanco
Copy link
Contributor Author

What about writing directly to /tmp with temporal filenames randomly generated?

@Timo6
Copy link
Member

Timo6 commented Aug 30, 2012

That would work too. I don't know how to do either though.

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

2 participants