I am using Magento cloud.
When I try to run setup:di:compile
command in one of my development branch. I am getting
Command line user does not have read and write permissions on generated directory. Please address this issue before using Magento command line.
So I tried to give a folder & file permission for the generated folder in the root directory. I got this error
chmod: changing permissions of 'generated': Read-only file system
How to solve this issue?