microsoft / cpprestsdk

The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Other
7.97k stars 1.65k forks source link

Concurrency::streams::istream class needs an unnecessary write permission to the file on the readonly storage. #109

Open ChasM2 opened 8 years ago

ChasM2 commented 8 years ago

I use istream class in wastorage library (https://github.com/Azure/azure-storage-cpp) for uploading a file from local read-only storage to azure storage account. I get a message which you can see in attachment. It occurred in the seek method for istream class. I expect that the istream class needs only the read permission to disk.

3-29-2016 1-21-41 pm

ChasM2 commented 8 years ago

See details in https://github.com/Azure/azure-storage-cpp/issues/57

Call stack v2.6.0: CallStack2.txt

Call stack v2.8.0: CallStack3.txt

ras0219-msft commented 8 years ago

Thank you for cross posting this issue. I've responded in the Azure storage SDK thread for now -- if we narrow down the issue to the C++ REST SDK then we can continue here.