Skip to content

[Storage] Fix #16679: az storage blob download fails with "Permission denied" if the destination file is a directory#17008

Merged
evelyn-ys merged 2 commits intoAzure:devfrom
evelyn-ys:download_file_path
Feb 22, 2021
Merged

[Storage] Fix #16679: az storage blob download fails with "Permission denied" if the destination file is a directory#17008
evelyn-ys merged 2 commits intoAzure:devfrom
evelyn-ys:download_file_path

Conversation

@evelyn-ys
Copy link
Member

Description

Fix #16679
Add file path validator to az storage blob download

Testing Guide

az storage blob download -f /path/of/directory

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.


This checklist is used to make sure that common guidelines for a pull request are followed.

@evelyn-ys evelyn-ys added this to the S183 - For Ignite milestone Feb 20, 2021
@evelyn-ys evelyn-ys self-assigned this Feb 20, 2021
@yonzhan
Copy link
Collaborator

yonzhan commented Feb 20, 2021

Storage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@Juliehzl
Copy link
Contributor

could you add test for such scenario and check the exception is raised as expected?

@evelyn-ys evelyn-ys merged commit 3221fe2 into Azure:dev Feb 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"az storage blob download" fails with "Permission denied" if the destination file is a directory

3 participants