6

It's on the Ubuntu system. I install the phpstorm IDE. But when i use it do edit files and save them,it shows a error:

Could not save project: java.io.FileNotFoundException: /home/project/.idea/workspace.xml_jb_bak_ (Permission denied).

If anyone know how to solve this problem, Please share your ways.

Thanks in advance

Tony_Wang
  • 133
  • 1
  • 1
  • 9

1 Answers1

9

enter image description herego to preferences, system settings -> then uncheck "use safe write" checkbox.

awm
  • 1,130
  • 3
  • 17
  • 37
  • omg thank you so much, I have been looking for the solution to this for so long. – Rob Jun 21 '17 at 05:23
  • me too...I was grinding my teeth until now after changing permissions to write and then never having PHPStorm respect that. – Alex Finnarn Nov 10 '17 at 17:17
  • This was a very annoying issue, tried giving full disk access, checked folder permissions, but this setting fixed it. Not sure what will be a disadvantage for not using the safe write option. At least I have git to rollback changes. – Trinadh venna Dec 16 '19 at 19:34