"File is read-only" error after several hours of working

This thread shows the exact error I’m getting.