CircleCI-Public / CircleCI-Public/cimg-postgres
Bug Report: Permission error when using db example
- Dominant language
- Dockerfile
- Stars
- 10
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
We've configured the database according to the postgres testing example in the docs: https://circleci.com/docs/databases/#postgresql-database-testing-example
when running the image step, there is a
`could not change directory to "/home/circleci/project": Permission denied`
and
`Build was canceled`
**To Reproduce**
Clone the example config from the docs and create a new repo.
**Expected behavior**
Expected the image to load without any errors
**Workarounds**
The tests still seem to run, can this message be safely ignored?
**Screenshots and Build Links**

Here's our test repo: https://github.com/inventables/psql-test and the build: https://app.circleci.com/pipelines/github/inventables/psql-test/1/workflows/cba69c18-14c4-4627-a095-17007117e2b2/jobs/1
**Additional context**
Add any other context about the problem here.
The image has a `WORKDIR /home/circleci/project` command. I'm not sure what the reasoning is for it or if it's needed.
https://hub.docker.com/layers/cimg/postgres/13.11/images/sha256-dd0031cb27d079e6bcfdbc3c73363246ace95ddad007257887d91c2cefe11a4d?context=explore
Contributor guide
Assessment
This issue has not been assessed yet.