When I run any M2 command line scripts I get the follow error message:
Command line user does not have read and write permissions on var/generation directory. Please address this issue before using Magento command line.
My user is a part of the group with admin rights and the file owner.
May I ask where else to check?