I use a program that produces files with owner root and without read access for other users in a PhpStorm project on Linux. If the file has been accessed by the IDE before (it suffices to have the folder opened in the project menu), even after changing the owner to my user it's still not possible to view the file in PhpStorm.
Is there a solution for this without restarting the IDE?
Steps to reproduce:
su;
(umask 007; echo "Hello World!" > test.txt);
exit;
Then access the file and execute sudo chown {current_user}:{current_user} test.txt
. The file content still won't show up in PhpStorm.