Php storm cant create .idea folder on Linux
Hi, can you tell me please how can I fix that Storm cant save project settings in .idea folder? It throws me a dialog at the shutting down the program with text "PhpStorm was unable to save some project files, are you sure you want to close this project anyway?" I am new on Linux and little insane of this permission rights on every file... How can I enable creating and writing in the .idea folder? Thanks.
Please sign in to leave a comment.
You need to grant full access rights on the folder where your project/.idea folder is located for the user you're starting PhpStorm with.
http://stackoverflow.com/questions/8328481/chmod-777-to-a-folder-and-all-contents
https://www.linux.com/learn/how-manage-file-and-folder-permissions-linux
http://stackoverflow.com/questions/3740152/how-to-set-chmod-for-a-folder-and-all-of-its-subfolders-and-files-in-linux-ubunt
As I founded out It also denied me to mode folders in project (like bower_components).
when I tried to change chmod of /opt/lampp/htdocs folder as
pc@user chmod -R 777 /opt/lampp/htdocs
it denied me that. I had to do it like root and it did it. Now I can move bower_components folder but there is no .idea folder. Alert about .idea does not appear now. But where is that folder?
Try to open PhpStorm > File > Settings > Directories. Project structure folder should be listed there (showing .idea folder location).
If it's not there try to recreate a project.
Yes there it is. But via file manager I dont see it. Why?
File manager omits directories starting with dot by default.
If you run ls from terminal, it won't show you such folders as well, but ls -al will.
If you use Ubuntu, there is an option for this in File Manager: <http://askubuntu.com/questions/470837/how-to-show-hidden-folders-in-ubuntu-14-04>.
Yes I have it. Thank you.