[英]cannot create directory on debian when trying to install files from Github
so I'm trying to install outline VPN on my debian machine.所以我试图在我的 debian 机器上安装大纲 VPN。
The code I'm using to install is我用来安装的代码是
sudo curl -sSL https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh | bash
It then says this(which it is supposed to):然后它说这个(它应该是):
> Verifying that Docker is installed .......... OK
> Verifying that Docker daemon is running ..... OK
and then this:然后这个:
mkdir: cannot create directory ‘/opt/outline’: Permission denied
I'm not expecting any errors, in fact, this has worked for thousands of others.我不期望有任何错误,事实上,这已经对其他人有效。 Any help is appreciated, thank you!
任何帮助表示赞赏,谢谢!
Change to command to:将命令更改为:
curl -sSL https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh | sudo bash
The reason is that: the install_server.sh
is executed with bash
by normal user priviledges.原因是:
install_server.sh
是由普通用户权限用bash
执行的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.