【问题标题】:Parent Directory does not allow write permission to the process父目录不允许进程写入权限
【发布时间】:2023-03-15 13:45:01
【问题描述】:

我正在尝试使用 openFoam 和 blockMesh 创建网格,但是当我在项目目录中使用 blockMesh 时,我得到:

The parent directory does not allow write permission to the process, or one of the directories in ~/icoFoa,/cavity/cavity/constant/polyMesh did not allow search (exacute) permission.

为什么没有blockMesh工作?

【问题讨论】:

  • 您能否分享一下您尝试过的代码,以便我们知道问题所在

标签: linux openfoam


【解决方案1】:

我遇到了类似的问题。我通过更改运行模拟的每个文件的权限来解决它。也许有一个更聪明的答案,但这对我有用。我也不是在 /opt 而是 /home 中运行模拟。我使用的命令是:

sudo chmod 777 cavity/ %simulation file name
sudo chmod 777 0/
sudo chmod 777 constant/
sudo chmod 777 system/

【讨论】:

    猜你喜欢
    • 2017-12-21
    • 1970-01-01
    • 2014-03-01
    • 1970-01-01
    • 2021-08-05
    • 2017-08-20
    • 2011-05-10
    • 2017-08-14
    • 2011-05-07
    相关资源
    最近更新 更多