How to fix the «Command line user may not have proper read+execute permissions for directories under "var/generation/"» issue?

Part 1

The var/generation directory shoud:

  • be present (the requirement is a bug, because the var/generation directory is autogenerated)
  • be readable
  • be executable

Part 2

If you are on Windows, you need an additional patch.

See also: