设置Tezos节点并运行alphanet.sh时,如何解决Mac上的权限拒绝错误
-
-
您是否要运行mainnet或alphanet?Are you trying to run mainnet or alphanet ?
- 1
- 2019-02-23
- Ezy
-
现在alphanet.sh的权限是什么?您在更新后是否使用chmod + x?What is the permissions of alphanet.sh now ? Did you chmod +x after the update ?
- 1
- 2019-02-23
- Ezy
-
您需要在脚本更新后执行" chmod + x alphanet.sh",脚本被覆盖后会丢失其可执行权限.有趣的是,`alphanet.sh`和`mainnet.sh`是同一个文件,代码读取文件名做什么不同的事情.you need to do `chmod +x alphanet.sh` after the script was updated, it lost its executable permission when overwrittened. By the way, interestingly, `alphanet.sh` and `mainnet.sh` are the same file, the code reads what the name of the file to do different things.
- 1
- 2019-02-23
- Frank
-
感谢@Frank,更新后再次运行chmodThanks @Frank, running chmod again after the update
- 1
- 2019-02-23
- user435
-
@Frank嘿,弗兰克,因为这是正确的答案,您可以将其发布为答案吗?Tx!@Frank hey Frank can you please post this as answer since this is the right answer ? Tx!
- 2
- 2019-02-23
- Ezy
-
1 个回答
- 投票数
-
- 2019-02-23
从
chmod +x alphanet.sh
更新脚本后,您需要再次执行.alphanet.sh update_script
.基本上,该文件在被覆盖后会丢失其可执行权限(因为它是一个新文件!).有趣的是,alphanet.sh
和mainnet.sh
是同一个文件,脚本会读取文件名,以执行不同的操作,例如获取不同的内容docker容器.You'll need to do
chmod +x alphanet.sh
again after the script was updated from.alphanet.sh update_script
. Basically, the file lost its executable permission after being overwrittened (since it's a whole new file!). By the way, interestingly,alphanet.sh
andmainnet.sh
are the same file, the script reads what the name of the file to do different things such as grabbing a different docker containers.
我正在尝试在Mac OS上启动Tezos节点.
依次在我创建的Tezos目录中运行以下内容:
我得到以下输出:
所以我跑了:
得到了:
尝试卷曲原始URL并运行开始,但现在拒绝该权限.