【问题标题】:Account is not granted with modify permission on folder in linux未授予帐户对 linux 中文件夹的修改权限
【发布时间】:2020-10-04 06:25:23
【问题描述】:

我有一个在 ec2-linux 机器上运行的 dot net core nopcommerce 应用程序,我处于 ​​root 模式,我收到了这个错误。

The 'ip-10-8-2-66\root' account is not granted with Modify permission on folder '/home/ec2-user/dependent-linux-x64/bin'. Please configure these permissions

The 'ip-10-8-2-66\root' account is not granted with Modify permission on folder '/home/ec2-user/dependent-linux-x64/logs'. Please configure these permissions.

dependent-linux-x64 是在依赖于 linux-x64 的框架中发布的 nopcommerce。 我正在获取 localhost:5000/install 页面,这意味着应用程序正在运行。我还为数据库连接字符串安装了 mysql,但我无法解决上述问题。 我使用了以下命令 chmod +x dependent-linux-x64 处于 root 模式,但仍然存在上述问题。

【问题讨论】:

  • 请运行ls -l /home/ec3-user/dependent-linux-x64 并查看用户及其权限

标签: asp.net .net linux amazon-web-services nopcommerce


【解决方案1】:

我遇到了和你一样的问题。我运行了 George Udosen 建议的 linux 命令,发现我拥有所有的读写权限,但是我没有 bin 文件夹。我创建了一个~/bin 目录并且我的一条错误消息消失了,然后我创建了一个~/logs 目录并且错误停止了。

我的建议

mkdir /home/ec2-user/dependent-linux-x64/bin
mkdir /home/ec2-user/dependent-linux-x64/logs

【讨论】:

    猜你喜欢
    • 2019-06-18
    • 1970-01-01
    • 2020-01-21
    • 1970-01-01
    • 2022-01-19
    • 2011-09-01
    • 1970-01-01
    • 2011-12-10
    • 1970-01-01
    相关资源
    最近更新 更多