|
[Sponsors] |
[OpenFOAM.org] Permission Denied when Running a batch File |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 6, 2022, 14:32 |
Permission Denied when Running a batch File
|
#1 |
New Member
Leonardo
Join Date: Jan 2022
Posts: 2
Rep Power: 0 |
I have installed OpenFoam and run a few simulations without any problems.
Today I was trying to run a batch file but it tells me "Permission Denied". It is executable (I've done chmod +x batch.sh). A friend of mine has tested the batch file on his PC and it works. I really don't understand why I shouldn't have the permission. Thanks for any kind of help! |
|
January 7, 2022, 06:18 |
|
#2 | |
Member
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 76
Rep Power: 5 |
Quote:
|
||
January 28, 2022, 05:09 |
Batch
|
#3 |
New Member
Leonardo
Join Date: Jan 2022
Posts: 2
Rep Power: 0 |
Thank you for the reply.
This is the batch. I've tried it on an other PC and it works. I also tried to run the commands directly from the terminal and everything works fine. I don't really understand why I have no permission. Thanks again. |
|
January 29, 2022, 10:18 |
|
#4 |
Member
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 76
Rep Power: 5 |
Probably the directory don't have write access. Can you try putting that folder/case to some where else in your pc.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using PengRobinsonGas EoS with sprayFoam | Jabo | OpenFOAM Running, Solving & CFD | 36 | July 16, 2024 04:52 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 22:53 |
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 | towanda | OpenFOAM Community Contributions | 6 | September 5, 2015 22:03 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 20:43 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |