Sublime Forum

Why does Sublime Text want access to my contacts and calendar?

#1

Hi, while saving a color scheme to the Packages/User folder I got a popup dialog asking me to allow Sublime Text.app to access my contacts and then another one for my calendar.

This is on macOS 10.14 (Mojave), Sublime Text version 3.1.1 build 3176.

Any ideas what’s going on? Does Sublime Text seriously want to access my contacts and calendar? This seems hard to believe.

0 Likes

#2

which packages do you have installed? does it still ask for this permission with a clean state?

1 Like

#3

I believe you will get this notification if you open your home directory in Sublime Text. I presume this is because contacts and calendar data is stored somewhere there within.

0 Likes

#4

I only installed Colorsublime, but I can’t reproduce the message now that I have denied access. I’d have to reinstall I guess.

0 Likes

#5

That seems to be it. I just tried and other programs pop up the same permissions dialog as soon as I open ~/Library/Application Support

So this is clearly a macOS Mojave weirdness.

Thanks

0 Likes

#6

The same question popped up in the Atom forums some weeks back. There’s now a good explanation on the issue on their FAQ page.

With macOS 10.14 Mojave, Apple introduced new privacy protections similar to the existing protections found in iOS. Whenever an application attempts to access the files inside certain newly-protected directories, macOS asks the user whether they want to allow the application to access the content in those directories. These new privacy protections apply to the directories that contain your calendars, contacts, photos, mail, messages, and Time Machine backups.

This commonly occurs when you open your home directory (~) inside Atom and run a command that examines all files and directories beneath your home directory.

In addition to containing the files you’re intending to edit inside Atom, your home directory also contains your files that have new OS-level protections in Mojave:

Calendar files (~/Library/Calendars)
Contacts files (~/Library/Application\ Support/AddressBook)
Mail files (~/Library/Mail)
Photos files (~/Pictures/Photos\ Library.photoslibrary)

Before letting Atom read these files, Mojave is understandably asking whether you want Atom to be able to access this personal data.

0 Likes