CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (http://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   foamLog error in OpenFoam 2.0.1 (http://www.cfd-online.com/Forums/openfoam-post-processing/94150-foamlog-error-openfoam-2-0-1-a.html)

A.D.E November 7, 2011 12:53

foamLog error in OpenFoam 2.0.1
 
Hello all!!!

I tried to run foamLog in OpenFoam 2.0.1 and I get the following error message:

bash: /opt/openfoam201/bin/foamLog: Permission denied

Does anyone know why?

Thankd you,

A.D.E

nimasam November 7, 2011 13:19

use:
sudo foamLog

wyldckat November 7, 2011 16:33

Greetings to all!

Actually the problem is due to a very strange glitch... in "/opt/openfoam200" foamLog had permissions to execute, but in "/opt/openfoam201" it no longer has.

Run the following command and it'll only be necessary once per installation:
Code:

sudo chmod +x /opt/openfoam201/bin/foamLog
It will give permissions back to foamLog for script execution.
edit: I forgot about sudo before posting!

Best regards,
Bruno

A.D.E November 8, 2011 09:18

Thank you both. The code works perfectly.



Best regards,


A.D.E


All times are GMT -4. The time now is 18:44.