mendix / docker-mendix-buildpack

Build and Run Mendix in Docker
https://www.mendix.com
Apache License 2.0
82 stars 113 forks source link

Permission Issue with /opt/mendix/build #132

Open claryce-m opened 2 years ago

claryce-m commented 2 years ago

Hi, Trying to deploy on an AWS env and I am getting the following error:

ERROR: Unable to fixup permissions of directory 'web' with mode 755: [Errno 1] Operation not permitted: '/opt/mendix/build/web', Ignoring. 2021-12-09 14:04:10ERROR: Unable to fixup permissions of directory 'data' with mode 700: [Errno 1] Operation not permitted: '/opt/mendix/build/data', Ignoring. 2021-12-09 14:04:10ERROR: Unable to fixup permissions of directory 'model' with mode 700: [Errno 1] Operation not permitted: '/opt/mendix/build/model', Ignoring.

This issue is blocking our development. Thank you in advance for your help

arundevops16 commented 2 years ago

Hi Team,

I'm facing similar issue with latest mendix version 9.6.6.34474 and CF_BUILDPACK=v4.24.0. Also while building docker images I have provided necessary permissions to /opt/build/ directory with recursive.

INFO: Mendix Cloud Foundry Buildpack v4.24.0 [e9d007d] starting... ERROR: Unable to fixup permissions of directory 'model' with mode 700: [Errno 1] Operation not permitted: '/opt/mendix/build/model', Ignoring. ERROR: Unable to fixup permissions of directory 'web' with mode 755: [Errno 1] Operation not permitted: '/opt/mendix/build/web', Ignoring. ERROR: Unable to fixup permissions of directory 'data' with mode 700: [Errno 1] Operation not permitted: '/opt/mendix/build/data', Ignoring.

Can someone help me on this. Thank you in advance for your inputs.