IDEA Error: clear read-only status [How to Solve]

My environment is MAC
I changed the login user of idea, changed the directory location and directory name of the code

Error reporting.idea idea: clear read only status
Maven error reporting

Maven resources compiler: Failed to copy

I’m directly in the directory

chmod -Rf 777 *
chmod -Rf 777.* 

solve

Read More: