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

[TEE download and removal logic] Fix permissions setting on MacOS #3704

Merged

Conversation

DaniilShmelev
Copy link
Contributor

@DaniilShmelev DaniilShmelev commented Jan 19, 2022

We've encountered a couple of issues with TEE downloading on macos:

  1. chmod command doesn't accept current argument order on macos
  2. TEE folders don't get cleaned up when something is already extracted but permission setting fails
    This PR should fix them

Initial PR: #3684

@DaniilShmelev DaniilShmelev requested a review from a team January 19, 2022 12:57
@DaniilShmelev DaniilShmelev self-assigned this Jan 19, 2022
@alexander-smolyakov alexander-smolyakov requested a review from a team January 19, 2022 15:04
@DaniilShmelev DaniilShmelev merged commit 42add56 into master Jan 19, 2022
DaniilShmelev added a commit that referenced this pull request Jan 19, 2022
)

* fix setting permissions on macos

chmod argument order should be different on macos

* cleanup on each download/extraction attempt
AndreyIvanov42 pushed a commit that referenced this pull request Jan 20, 2022
* fix agentversion, releasenote for hotfix 2.198.1

* [TEE download and removal logic] Fix permissions setting on MacOS (#3704)

* fix setting permissions on macos

* chmod argument order should be different on macos

* cleanup on each download/extraction attempt

* Update dumping waagent.conf file logic not to write waning on missed "waagent.conf"

Co-authored-by: Daniil Shmelev <72494759+DaniilShmelev@users.noreply.github.com>

Co-authored-by: Tatyana Kostromskaya <86476103+tatyana-kostromskaya@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants