Diego: Permission denied when starting application with startup command


MaggieMeng
 

Hi,

Our application is started by a shell script. So we pushed our application with -c option. It works fine with dea. Application could be started successfully. But when I pushed the application into diego, I got "bash bin/start.sh permission denied". I also found if I pushed and started the application into dea first and enabled diego later, the error was gone. I guess that is because dea will update file permission during staging.

I also tried to grant permission when zipping the applciation. But diego totally ignore the setting. Could someone help me to solve this problem?

Thanks,
Maggie

Join {cf-dev@lists.cloudfoundry.org to automatically receive all group messages.