You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to run the script, but it aborts with an error
sudo ruby icloud_calendar_urls.rb
Password:
Traceback (most recent call last):
1: from icloud_calendar_urls.rb:59:in `<main>'
icloud_calendar_urls.rb:59:in `glob': Operation not permitted - /Users/markus/Library/Calendars (Errno::EPERM)
'''
As you see I already try to run it with sudo. I'm on Mac OS Catalina with latest patch level
The text was updated successfully, but these errors were encountered:
I had the same problem today and I solved it by allowing full disk access to Terminal.
This can be achieved in Preferences>Security&Privacy. In the list, choose "Full DIsk Access", unlock the item, click on the "+", add Terminal (or whatever you use...).
@erickvd thanks for chiming in! The script still works for me with the system ruby even though I don't have Full Disk Access allowed for Terminal, but I expect that will work for anyone who has this problem. FWIW, you should probably turn that back off once you have what you need.
@markus7017sudo is not necessary and won't help, but this does seem like some kind of Apple-protecting-you-from-yourself thing.
I have a hazy memory of being prompted (maybe with a little dialog, not on the terminal?) to allow access to the folder the first time I tried messing with this. If anyone else runs into this, try typing this in Terminal before trying the calendar script again:
ls ~/Library/Calendars
I think something like that is what got Mac OS to prompt me to allow access.
Hi,
I try to run the script, but it aborts with an error
The text was updated successfully, but these errors were encountered: