I encountered the same problem. Solution is deleting the folder which is built manually.

Hope it's useful for you.

Have a good day.

BR,

Felix

====

I set image named "/home/root/myiot2000" in eclipse, and created folder /home/root/myiot2000 mannually in iot2020. I think the problem cause is that the name of the folder is the same with image name, so permission denied.