Skip to content

cf push fails when you have a read only js file bigger than 64KB #685

@bveenvliet

Description

@bveenvliet

When do a cf push to run.pivotal.io with a JS file that is 65KB or greater using the Windows 64 bit CF CLI:

  • version 6.12.2 works (cf version 6.12.2-24abed3-2015-07-15)
  • version 6.12.4 works (cf version 6.12.4-b4b6af1-2015-09-18)
  • version 6.13 FAIL (cf version 6.13-e68ce0f-2015-10-15)
  • version 6.14 FAIL (cf version 6.14.0+2654a47-2015-11-18)

easy to test, just add a huge comment block to any JS file, set the file to read only and cf push it.
Very strange thing is that the overall size of files does not include the >64KB file.

C:\Test>cf push dev-routetest
Using manifest file C:\Test\manifest.yml

Updating app XXXXXX in org XXXXXX-org / space development as [email protected]...
OK

Uploading test...
Uploading app files from: C\Test
Uploading 15.9K, 16 files <<------------ should be approx 85KB if it included the 70KB js file
Done uploading
FAILED
Error uploading application.
The resource file mode is invalid: File mode '0444' is invalid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions