Skip to content

Build scripts download packages with read only access #24284

Closed
@v1v

Description

@v1v

What

When using static workers then things can get ugly when the workspace cannot be deleted. This happens with the static CI workers.

jenkins@worker-0eaeecf32aca4fe3a:~/workspace$ ls -ltra Beats_beats_7.11/pkg/mod/github.com/\!shopify/toxiproxy@v2.1.4+incompatible/
total 200
-r--r--r--  1 jenkins jenkins     6 Mar  1 11:16 VERSION
-r--r--r--  1 jenkins jenkins   183 Mar  1 11:16 .travis.yml
-r--r--r--  1 jenkins jenkins 19165 Mar  1 11:16 README.md
-r--r--r--  1 jenkins jenkins  3016 Mar  1 11:16 Makefile
-r--r--r--  1 jenkins jenkins  1075 Mar  1 11:16 LICENSE
dr-xr-xr-x  2 jenkins jenkins  4096 Mar  1 11:16 Godeps
-r--r--r--  1 jenkins jenkins   131 Mar  1 11:16 .gitignore
dr-xr-xr-x  2 jenkins jenkins  4096 Mar  1 11:16 .github
-r--r--r--  1 jenkins jenkins   206 Mar  1 11:16 Dockerfile
-r--r--r--  1 jenkins jenkins  6693 Mar  1 11:16 CREATING_TOXICS.md
dr-xr-xr-x  2 jenkins jenkins  4096 Mar  1 11:16 client
drwxr-xr-x  3 jenkins jenkins  4096 Mar  1 11:16 ..
dr-x------ 12 jenkins jenkins  4096 Mar  1 11:16 .

#24233 was added to mitigate this issue but I'm afraid it's still there.

I'd like the team to look for where in the magefiles those particular folders are downloaded and why with 0444 permissions.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions