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

removeAllExcept doesn't exclude temporary files #75

Open
Tilps opened this issue Jan 11, 2019 · 1 comment
Open

removeAllExcept doesn't exclude temporary files #75

Tilps opened this issue Jan 11, 2019 · 1 comment

Comments

@Tilps
Copy link
Contributor

Tilps commented Jan 11, 2019

Multiple clients in the same directory can stomp on each other because removeAllExcept will delete temporary files being downloaded by another client.

It should either exclude temporary files, or it should be performed behind acquireLock rather than before it.

@Tilps
Copy link
Contributor Author

Tilps commented Jan 11, 2019

it should also exclude the .lck files...

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