mac因为一些原因需要切换账户,切换账户之后idea的项目打开之后不允许编辑,执行 sudo chown -R $USER /Users/aniu/IdeaProjects/项目名 转载于:https://my.oschina.net/u/3274237/blog/1809560