Re: Diego: Permission denied when starting application with startup command
Matthew Sykes <matthew.sykes@...>
I can confirm that the problem is with how the cli handles zip entries in
toggle quoted message
Show quoted text
archives. When the cli extracts the zip into a temporary directory, it does not set the file mode on the files it creates. [1] It simply relies on the behavior of os.Create() [2] Looks like an issue should be raised against the cli but a simple workaround is to simply expand the zip before pushing. [1]: https://github.com/cloudfoundry/cli/blob/master/cf/app_files/zipper.go#L283-L292 [2]: https://golang.org/pkg/os/#Create On Wed, Feb 17, 2016 at 8:18 AM, Daniel Mikusa <dmikusa(a)pivotal.io> wrote:
On Wed, Feb 17, 2016 at 4:30 AM, Meng, Xiangyi <xiangyi.meng(a)emc.com> --
Matthew Sykes matthew.sykes(a)gmail.com |
|