Open Tjorbenn opened 2 years ago
When I try to upload a file using carrierwave I get an EACCES exception. I think it has something to do with files not being closed by carrierwave before moving/renaming.
Carrierwave Version: 2.2.2
https://stackoverflow.com/questions/62995807/errnoeacces-upon-deleting-a-file-on-windows-10
Might be sufficient to add a file.close if file.respond_to?(:close) to copy! and move!
file.close if file.respond_to?(:close)
copy!
move!
When I try to upload a file using carrierwave I get an EACCES exception. I think it has something to do with files not being closed by carrierwave before moving/renaming.
Carrierwave Version: 2.2.2