IDE requests access to calendar, contacts, photos, etc on macOS Mojave
We’ve been receiving an increased amount of a feedback related to JetBrains IDEs trying to access your calendar, contacts, or photos on latest macOS:
This behavior is caused by the recently introduced in macOS 10.14 Mojave new privacy protection mechanisms. Under these mechanisms, macOS shows the confirmation prompt when a process tries to access files under the home directory. This applies to calendars, contacts, photos, mail, messages, and Time Machine backups directories, which are commonly located under your home directory.
Therefore, if you have any of your project or library files under your home directory, the prompt is displayed when the IDE tries to read the contents of the directory in order to access them. Feel free to choose Don’t Allow since the IDE does not need access to those folders.
The issue is being actively investigated at our tracker at https://youtrack.jetbrains.com/issue/IDEA-194789. If you’re experiencing the same problem, please submit a new report:
1) Specify where is your project located (and external libraries used in a project): an exact location on a disc;
2) Describe what actions inside IDE caused this popup to appear
3) Attach your idea.log file (Help > Show log in…), ideally as soon as the issue occurs
Please sign in to leave a comment.
Allowing the application Full Disk Access cant be a solution, rather a bad security suggestion.
Thanks for your input. Per discussion in IDEA-194789 the workaround is removed.
For the last few builds of intellij-community I get this prompt when importing settings to the IDE:
The same in 2019.1 EAP releases.
It is definitely some plugin because when I blew away Application Support, Caches and Preferences for IdeaIC2019.1 and did a default install with only Git and GitHub VCS support the prompt stopped.
I will try installing my plugins one at a time to see which one causes this.
Actually, a better idea is to disable the extra plugins one at a time to see which one causes this. Duh!
No luck. Clearing out old directories and installing all my usual plugins did not reproduce the problem. I will check if I still have this in my sandbox directory for plugin debugging.
Dmitry, I was getting it in my plugin sandbox version of the IDE but having tried switching the JDK used for the sandbox, the problem has gone away and I cannot reproduce it in the sandbox either.
For me, I get something completely different in PyCharm. I appreciate the explanation above and the next steps for us to follow. I'll open an issue.
Uuklanger, this seems to be something new. Please report this separately at https://youtrack.jetbrains.com/newIssue
What on earth is this? Today i got this after also getting the one requesting contacts, and microphone a few times:
Are we sure some plugin isn't able to capture stuff and "phone home" with it?
Isn't this is a bit alarming?
I have quite a few plugins. The requests happen at seemingly random times. This one happened after i opened a color-picker plugin but no sure if related:
https://plugins.jetbrains.com/plugin/7055-color-ide/reviews
Another culprit could be code-glance. But it still works even though i denied access so not sure: https://plugins.jetbrains.com/plugin/7275-codeglance/
I really hope no plugins are allowed to communicate out of the application though!
I had the same problem as @..., it happened in the same way, after I opened a color-picker.
I had the same problem with CLion after I changed the color for the plugin Active Intellij Tab Highlighter.
Please see https://youtrack.jetbrains.com/issue/IDEA-234577 and the linked issues.
Phpstorm is just sitting in the background, then the Desktop, Calendar, Contacts, Photos, permission requests started leisurely popping up. Although the phpstorm footer says:
"Composer: Composer configuration file composer.json found. Project settings are synchronized with it. //Show Composer Settings (today 8:51 AM) Scanning non-indexed file... PHP 5.6"
I have a local project in $HOME/PhpstormProjects that has a php composer file in it. PhpStorm 2021.1.4 in the trial.
The article describes why this is happening. The issue is unfortunately still not resolved from our end: https://youtrack.jetbrains.com/issue/IDEA-194789.
Yes, still unresolved! This is a good article, and I add regarding this statement "Therefore, if you have any of your project or library files under your home directory, the prompt is displayed" -- is a given. If you accept the defaults for installation of the IDE, you are going to get these messages from your Mac. With WebStorm you run into it when you try the Learn IDE Features for JavaScript > Getting Started with Testing. (These tutorials are wonderful for newcomers like myself.)