8

I recently upgraded to macOS Catalina (10.15 Beta (19A546d)) on my Mid 2014 MacBook Pro. Then I can not open local html files on Safari (13.0 (15608.2.5)) and got the following error message. However, I can open websites on Safari and local html files on Chrome and Firefox. I don't have any third-party security software.

enter image description here

4
  • Sounds like a bug that you should report to Apple as part of the beta process.
    – benwiggy
    Commented Sep 3, 2019 at 8:25
  • I've been having this issue with the last few versions of Mojave, which have been fixed in the Safari Technology Preview. But not in Catalina, odd. It could be a bug you need to file using the Feedback Assistant. You could see if the location of the file has any effect on the error. Commented Sep 3, 2019 at 12:58
  • 3
    Problem Solved! It turns out that Safari did not have permission to read my html files. Go to System Preference > Security & Privacy > Privacy > Full Disk Access and add safari. I'm not an expert, so I'm not aware of other negative consequences of this action. Commented Sep 4, 2019 at 13:27
  • @Purple_Wind Please promote that to an answer. It would help more people like me! Commented Feb 29, 2020 at 9:27

1 Answer 1

10

It turns out that Safari did not have permission to read my html files. Go to

System Preference > Security & Privacy > Privacy > Full Disk Access

and add safari. (Answer taken from comment.)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .