未授予帐户对 Linux 中文件夹的修改权限



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

The 'ip-10-8-2-66root' 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-66root' 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。 我正在获得本地主机:5000/安装页面,这意味着应用程序正在运行。我还为数据库连接字符串安装了mysql,但我无法解决上述问题。 我使用了以下命令chmod +x dependent-linux-x64根模式下,但上述问题仍然存在。

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

我的建议

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