Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission denied when using the non-root image #622

Closed
rom1gal opened this issue Apr 3, 2023 · 1 comment
Closed

Permission denied when using the non-root image #622

rom1gal opened this issue Apr 3, 2023 · 1 comment
Assignees

Comments

@rom1gal
Copy link

rom1gal commented Apr 3, 2023

When I start the non-root Docker image in macOS I have the following :

/docker-launcher-nonroot.sh: line 48: /etc/postgresql/9.5/main/pgwatch_postgresql.conf: Permission denied
/pgwatch2/docker-launcher-nonroot.sh: line 49: /etc/postgresql/9.5/main/pgwatch_postgresql.conf: Permission denied

The pgwatch_postgresql.conf file seems to be created by root yet another user (since running the non-root version) try to edit it at launch time (https://github.com/cybertec-postgresql/pgwatch2/blob/master/docker-launcher-nonroot.sh#L48) 🤔

Am I missing something ?

Thanks in advance !

@pashagolub
Copy link
Collaborator

Hello. non-root Docker image is outdated and is not one of the official supplied images.

Please, consider to create a pull request with a fix should you find one.

Thanks in advance!

@pashagolub pashagolub closed this as not planned Won't fix, can't repro, duplicate, stale May 5, 2023
@pashagolub pashagolub self-assigned this May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants