-
Notifications
You must be signed in to change notification settings - Fork 571
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
When I use psql in the root directory, there is an error #499
Comments
Hi, This issue does not originate from this ansible role. It is more how the In any case, I think I know how you can work around it. On your system, the user Have you tried to run it as this?
References
|
I have tried this before, but it didn’t work, strace chdir still exists |
Just so that you have the correct expectation, the issue you have has nothing to do with this ansible repository. I am looking into this as I find it interesting. It is an issue that came with Postgres 13, as it does not seem to be present in Postgres 12. (As a hint, it helps to show your full To reproduce your issue, I did the following:
So, your problem is that you run sudo as the If you, for example run
Or, you just run
Or, you just ignore the error message and just run In a Postgres 12 container:
TL;DRThis is mostly cosmetic, but should rather be filed with the postgres project here: https://www.postgresql.org/account/login/?next=/account/submitbug/ |
Ok, thank you |
@ChenJhua , I will close this issue, but if you think it's not resolved then please reopen it. |
have error: could not change directory to "/root": Permission denied
When i use strace tracking
I found that there is a directory switch that caused this error,because use chdir to bin and chdir to now dir
The text was updated successfully, but these errors were encountered: