PhpStorm cannot unlock files (Ionic)
I am making a webapp using Laravel 5 as backend and Ionic as frontend.
In IDE, I am using PhpStorm 8, but I am having a problem.
Whenever I try to create a new Ionic project (ionic start myApp tabs / sidemenu ...) the folder is locked in PhpStorm, I cannot edit a single file, I get a popup with "clear read-only status" but a button click "OK" doesn't change anything.
I tried a few things, putting a folder on my HD, creating an Ionic folder like sudo
adding chmod 777
. I first added an ionic folder to my project and I made them standalone too, but nothing seems to work: I cannot edit the file in my Ionic project.
Any help would be helpful as I am really stuck right now ...
source to share
This might be a little late since the question is older than a year, but which user is the owner of the file? For example, if your user your-username-here:staff
, but your folder / file is owned, _www:_www
Phpstorm will not be able to open the file since it works like your-username
.
To fix this, you can add your user to the group that owns the file (or folder).
On Mac OS you can do the following: sudo dseditgroup -o edit -a
whoami -t user _www
if the owner of the group _www
and restart the search engine with killall Finder
.
Hope it helps.
source to share