Missing permissions with PostgreSQL ?
Closed this issue · 2 comments
hai-nguyen-van commented
I am running Ubuntu 20.04 and I am stuck at this step of the setup. Here is the output:
$ sudo -u postgres pg_restore -c --if-exists -v -d tzkt_db -1 tzkt_db.backup
could not change directory to "/home/nguyen-van": Permission denied
pg_restore: error: could not open input file "tzkt_db.backup": No such file or directory
Maybe a step is missing in the previous instructions give the right access?
Groxan commented
Thank you for opening an issue! That's actually strange as I have never faced that problem so far.