【发布时间】:2020-12-12 19:51:13
【问题描述】:
当我运行 createdb.sh 文件时,出现错误:\
could not change directory to "/root/gopath/src/github.com/hyperledger/fabric/fabric-samples/blockchain-explorer/app/persistence/fabric/postgreSQL/db": Permission denied
psql: error: ./explorerpg.sql: No such file or directory
could not change directory to "/root/gopath/src/github.com/hyperledger/fabric/fabric-samples/blockchain-explorer/app/persistence/fabric/postgreSQL/db": Permission denied
psql: error: ./updatepg.sql: No such file or directory</code>
我按照https://github.com/hyperledger/blockchain-explorer\ 中的说明进行操作 我已完成所有步骤并为 db/ 应用权限
有文件create.sh
和文件夹 db
【问题讨论】:
-
能以代码的形式准确告诉我使用的命令吗?
-
@myeongkilkim command sudo -u postgres ./createdb.sh after run command chmod -R 775 db/
-
@myeongkilkim 非常感谢你
标签: hyperledger-fabric hyperledger