See also:
- 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
- Bug:
\Magento\Framework\Setup\FilePermissions::checkDirectoryPermissionForCLIUser()
fails on Windows (wrongly detects whether a directory is executable) - How to fix the «Command line user does not have read and write permissions on var/generation directory» issue?