"Generate your server configuration files" 和 docker 安装第 1 步期间出现权限被拒绝错误

Permission denied errors during installation Step 1 of "Generate your server configuration files" with docker

当我尝试第 1 部分安装的命令时: ./bin/acore-docker-generate-etc

我遇到这样的权限错误:

Ruben@Ruben-Server MINGW64 /c/Windows/System32/azerothcore-wotlk (master)
$ ./bin/acore-docker-generate-etc
cp: cannot create regular file 'docker/worldserver/etc/worldserver.conf.dist': Permission denied
cp: cannot create regular file 'docker/authserver/etc/authserver.conf.dist': Permission denied
cp: cannot create regular file 'docker/worldserver/etc/worldserver.conf': Permission denied
cp: cannot create regular file 'docker/authserver/etc/authserver.conf': Permission denied

docker 安装的第 1 步没有说明 git bash 此命令的位置。 我也尝试过使用命令: CD azerothcore-wotlk 但我得到这个错误:

Ruben@Ruben-Server MINGW64 /c/Windows/System32/azerothcore-wotlk (master)
$ cd azerothcore-wotlk
bash: cd: azerothcore-wotlk: No such file or directory

您似乎已经在 azerothcore-wotlk 目录中:

Ruben@Ruben-Server MINGW64 /c/Windows/System32/azerothcore-wotlk (master)

所以当然输入 cd azerothcore-wotlk 是行不通的,因为你已经在里面了

尝试将 azerothcore 目录移至其他位置。 Windows 管理员权限可能导致错误。