Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

File permission error unpacking ContamFMU on Linux

I'm porting co-simulation between EnergyPlus and CONTAM from Windows to Linux. When EnergyPlus extracts the FMU, the file permissions are not maintained. Executable permissions are removed from both the contamx.exe executable and the ContamFMU.so shared object file located in the binaries/linux64 folder of the FMU.

I receive the following error:

sh: 1: tmp-fmus/ContamFMU.fmu_ContamFMU/binaries/linux64/contamx3.exe: Permission denied

If I simply extract the files from the FMU directly, permissions are retained.

I am assuming there is some linux setting I've not set correctly, but I am no linux expert. I am running Ubuntu 14.04 in a VirtualBox.

Any help would be much appreciated.