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

SetFileValidData (falloc in Windows) seems to fail in 1.23.0 build 1 #657

Closed
jrmoore opened this issue May 16, 2016 · 2 comments
Closed
Labels
Milestone

Comments

@jrmoore
Copy link

jrmoore commented May 16, 2016

Hi, I'm using --file-allocation=falloc with the current build of 1.23.0 for Windows (the 64-bit one) and aside from the usual warning about that file allocation method under Windows there's one that didn't appear before:

File allocation (SetFileValidData) failed (cause: A required privilege is not held by the client.).

Resulting in aria2 allocating space by filling with zeroes. I tried with different downloads both torrent and http based ones at least lead to this even though I launched aria2 from an administrative prompt.

Such warning didn't appear in the previous build (1.22.0 build 1, 64-bit), and doesn't appear now either if the download is small: a 2.3MB file doesn't trigger it for example, a 300MB one does.

@tatsuhiro-t
Copy link
Collaborator

Confirmed. It looks like we have to gain privilege before opening file.
949a580 will fix this issue.

Because of --no-file-allocation-limit option, by default, file of less than 5 MiB does not trigger file allocation, so there is no warning.

@tatsuhiro-t tatsuhiro-t added this to the v1.24.0 milestone May 18, 2016
@tatsuhiro-t
Copy link
Collaborator

Please reopen this bug if you still have this issue.

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

No branches or pull requests

2 participants