【问题标题】:Elastic Beanstalk ebextension config files using VS toolkit使用 VS 工具包的 Elastic Beanstalk ebextension 配置文件
【发布时间】:2016-04-05 13:34:43
【问题描述】:

我正在尝试设置文件夹权限,以便在我的 .Net 项目的 Temp 目录中创建其他文件夹/文件。 我知道有很多类似问题的参考资料(如给定的)

Running a .config file on Elastic Beanstalk?

How To Set Folder Permissions in Elastic Beanstalk Using YAML File?

我无法验证它是否被授予权限,我无法在 Temp 文件夹中创建任何文件夹/文件;在与权限设置相关的 Elastic Beanstalk(最后 100 行)中部署期间,我找不到任何错误。 我在我的配置文件中使用以下代码

命令:icacls \"C:/inetpub/wwwroot/myapp_deploy/Temp\" /grant DefaultAppPool:(OI)(CI)

(我已将 myapp 替换为 EB 应用程序名称)

请帮助任何人。

【问题讨论】:

  • 不清楚您遇到的错误或您指的是什么配置文件。

标签: amazon-web-services amazon-elastic-beanstalk


【解决方案1】:

我在发布代码时遇到了问题,并且生成了一般未知异常错误,没有其他详细信息。

找出我犯的错误:

  1. ICACLS 命令要求目录路径有双斜杠“\”。 上述经过验证的命令是:

命令:"icacls \"C:\inetpub\wwwroot\Temp\" /grant DefaultAppPool:(OI)(CI)F"

【讨论】:

    猜你喜欢
    • 2018-10-13
    • 1970-01-01
    • 2022-10-04
    • 2019-01-01
    • 2013-04-11
    • 2016-02-22
    • 2018-04-20
    • 1970-01-01
    • 2015-04-10
    相关资源
    最近更新 更多