-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Azure and mkdir command failed to set container public access level to blob or container #5045
Comments
You wrote on the forum
I found the docs for this here: https://docs.microsoft.com/en-us/rest/api/storageservices/create-container
After reading that I think the proposal to make a This would be very easy to implement with a config flag like this one Lines 36 to 50 in 4b5fe3a
Do you want to have a go at this? The 3 examples can be azblob.PublicAccessNone, azblob.PublicAccessBlob, azblob.PublicAccessContainer and the default can be azblob.PublicAccessNone (not sure what this value actually is!) |
Thanks! Sure, will give it a try. |
…ict its length to 80 chars. Fixes rclone#5045
…ue to varible. Fixes rclone#5045
I've merged this to master now which means it will be in the latest beta in 15-30 mins and released in v1.55 Thanks @krmanish for doing this :-) |
I think instead of keeping the access level to None there are two more options that it should support while using
mkdir
command.In place of hardcode
PublicAccessNone
it should get the options from CLI and set default if missing. Other options arePublicAccessBlob
&PublicAccessContainer
.rclone/backend/azureblob/azureblob.go
Line 1084 in 7db68b7
The text was updated successfully, but these errors were encountered: