-
Suggestion
-
Resolution: Unresolved
-
None
-
1
-
Currently, if your build image uses a non-root user (e.g., circleci in cimg/* images), files cached during one step may be owned by that user and have restrictive permissions (e.g., rx-------).
When Bitbucket Pipelines extracts the cache in a later step, it does so as the root user by default. If the files are only readable by the original non-root user, root cannot access them, so some files are missing after extraction.
It would be good to allow non-root user to be able to download/extract the cache files.