Svadilfari icon indicating copy to clipboard operation
Svadilfari copied to clipboard

`.wrangler` directory is created with root permissions

Open shumbo opened this issue 2 years ago • 0 comments

The CI was broken today (2022/07/16) and the investigation revealed that the error was due to the .wrangler directory with root-only permissions.

1_Deploy-Check.txt

After the deployment, the CI tries to create a cache using the hash of the lockfile.

https://github.com/shumbo/Svadilfari/blob/1a30ed02fb2672dd22614058910c759bb7bbcbd7/.github/workflows/push.yml#L45

To find all lockfiles in the project, every directory must have read permission. I don't know why but it looks like wrangler creates a directory without read permission.

shumbo avatar Jul 16 '22 19:07 shumbo