Skip to content

dev: perform chmod in /tmp, not /artifacts#107113

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
rickystewart:dev-chmod
Jul 19, 2023
Merged

dev: perform chmod in /tmp, not /artifacts#107113
craig[bot] merged 1 commit intocockroachdb:masterfrom
rickystewart:dev-chmod

Conversation

@rickystewart
Copy link
Copy Markdown
Collaborator

@rickystewart rickystewart commented Jul 18, 2023

This avoids an error in case your artifacts directory has some restrictive permissions. There's no functional difference here, we just copy to /tmp and do the chmod there before copying to the final destination directory.

Internal discussion

Epic: none
Release note: None

@rickystewart rickystewart requested a review from rail July 18, 2023 20:11
@rickystewart rickystewart requested a review from a team as a code owner July 18, 2023 20:11
@blathers-crl
Copy link
Copy Markdown

blathers-crl bot commented Jul 18, 2023

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@rickystewart rickystewart force-pushed the dev-chmod branch 2 times, most recently from 0407ea5 to 82ce5ae Compare July 18, 2023 22:43
This avoids an error in case your `artifacts` directory has some
restrictive permissions. There's no functional difference here, we just
copy to `/tmp` and do the `chmod` there before copying to the final
destination directory.

[Internal discussion](https://cockroachlabs.slack.com/archives/C019A8NANH0/p1689598801368169)

Epic: none
Release note: None
@rickystewart
Copy link
Copy Markdown
Collaborator Author

bors r=rail

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jul 19, 2023

Build succeeded:

@craig craig bot merged commit ab8fac2 into cockroachdb:master Jul 19, 2023
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