Bug: the console commands fail with the message «Command line user may not have proper read+execute permissions for directories under "var/generation/"» when the «var/generation» directory is absent



The requirement for the var/generation directory to be present is a bug, because the directory is autogenerated.

See also:

A quick way to fix this is to command out the || !is_executable($dir) rule

Yes, I have mentioned it here: Bug: \Magento\Framework\Setup\FilePermissions::checkDirectoryPermissionForCLIUser() fails on Windows (wrongly detects whether a directory is executable)

The bug has been fixed yesterday: