rclone/backend/azureblob
Nick Craig-Wood 54c0f17f2a azureblob: fix "409 Public access is not permitted on this storage account"
This error was caused by rclone supplying an empty
`x-ms-blob-public-access:` header when creating a container for
private access, rather than omitting it completely.

This is a valid way of specifying containers should be private, but if
the storage account has the flag "Blob public access" unset then it
gives "409 Public access is not permitted on this storage account".

This patch fixes the problem by only supplying the header if the
access is set.

Fixes #6645
2022-12-23 12:28:07 +00:00
..
azureblob.go azureblob: fix "409 Public access is not permitted on this storage account" 2022-12-23 12:28:07 +00:00
azureblob_internal_test.go azureblob: Port to new SDK 2022-12-06 15:07:01 +00:00
azureblob_test.go azureblob: Port to new SDK 2022-12-06 15:07:01 +00:00
azureblob_unsupported.go azureblob: Port to new SDK 2022-12-06 15:07:01 +00:00