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:

Untitled.png

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

 

9 comments
Comment actions Permalink

Allowing the application Full Disk Access cant be a solution, rather a bad security suggestion.

1
Comment actions Permalink

Thanks for your input. Per discussion in IDEA-194789 the workaround is removed.

0
Comment actions Permalink

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.

 

Edited by Vladimir Schneider
0
Comment actions Permalink

Actually, a better idea is to disable the extra plugins one at a time to see which one causes this. Duh!

0
Comment actions Permalink

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.

0
Comment actions Permalink

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.

0
Comment actions Permalink

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.  

0
Comment actions Permalink

Uuklanger, this seems to be something new. Please report this separately at https://youtrack.jetbrains.com/newIssue

1
Comment actions Permalink

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!

Edited by worrieduser
1

Please sign in to leave a comment.

Have more questions?

Submit a request