Error generating signCA for org org1.example.com:
Failed storing key [ECDSAP256]: Failed storing ECDSA private key [open crypto-config/peerOrganizations/org1.example.com/ca/c2c87ceb2f1cc204c97f050832a92c405467e13a76823f48c30385a5c5191ea7_sk: permission denied]
- res=1
文件权限错误,需要将文件设置
stackflow上面的回答
you should give chmod 777 to this path crypto-config/peerOrganizations/org1.example.com/ca/ . This will avoid this problem.
sudo chmod 777 * -R /home
- 要级联修改文件夹以及文件夹以下所有文件的权限
sudo chmod 777 crypto-config/peerOrganizations/org1.example.com/ca/
Share
Improve this answer