eb.exe deploy": Errno 13 Permission denied: './pagefile.sys'

浪尽此生 提交于 2020-01-25 05:37:26

问题


I am compiling a website using TeamCity on a server and need to deploy the compiled website to AWS.

As my last build step, I use the Elastic Beanstalk CLI to deploy: "C:\Python34...\eb.exe deploy".

eb init has already been run...but whenever I run "eb deploy", (even when I run it from the command line in an empty directory--which should deploy a default project to AWS), an error appears saying:

Error: PermissionError :: [Errno 13] Permission denied: './pagefile.sys'

I have already run the command on my local machine without any problems; I receive the error on the server regardless of whether I am running the command line as an administrator.

I am wondering if this is a permissions issue with the server, or something else? I haven't been able to achieve much insight from the other questions, because they seem to have been solved on a case-by-case basis.


回答1:


pagefile.sys is the Windows swap file.

It is a special file which cannot be written or manipulated. Whatever your command is doing you need to fix your command so it that doesn't touch this file and ignores it.



来源:https://stackoverflow.com/questions/31277749/eb-exe-deploy-errno-13-permission-denied-pagefile-sys

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!