Skip to content
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

Explicitly mark that remove destination cannot be public #1384

Merged
merged 1 commit into from
Apr 6, 2021

Conversation

nakulkar-msft
Copy link
Contributor

@nakulkar-msft nakulkar-msft commented Mar 31, 2021

For remove command, we overload copy with source as remove target.
getCredentialTypeForLocation() for source does not authenticate to public containers and blobs, as a public read access is enough on regular source. However this is incorrect for remove command, as azcopy needs delete permissions, among others. This change fixes this issue.

@zezha-msft zezha-msft added this to the 10.10 milestone Apr 1, 2021
Copy link
Contributor

@mohsha-msft mohsha-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nakulkar-msft nakulkar-msft merged commit e6499d8 into dev Apr 6, 2021
@nakulkar-msft nakulkar-msft deleted the nakulkar/fix/rmDest branch April 8, 2021 05:15
nakulkar-msft added a commit that referenced this pull request Apr 23, 2021
nakulkar-msft added a commit that referenced this pull request May 7, 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.

3 participants