You are correct, there is something wrong, and that something is that it can't create the file due a permission denied error. You need to fix that error and try again.

I'd say the error is either because you don't have permission (check readonly flag, user credentials) or because the file is in use.